#8745E1#8745E1

#8745E1 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.5% C 0.223 H 298.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8745E1
RGBrgb(135, 69, 225)
HSLhsl(265, 72%, 58%)
HSVhsv(265, 69%, 88%)
CMYKcmyk(40%, 69.3%, 0%, 11.8%)
CIE-LABlab(45.42, 58.62, -68.94)
CIE-LCHlch(45.42, 90.49, 310.37°)
OKLaboklab(55.54% 0.105 -0.1969)
OKLCHoklch(55.54% 0.223 298.1)
XYZxyz(25.7069, 14.8430, 72.7302)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745E1 #9FE145
analogous
#4551E1 #8745E1 #D545E1
triadic
#8745E1 #E18745 #45E187
tetradic
#8745E1 #E14551 #9FE145 #45E1D5
square
#8745E1 #E14551 #9FE145 #45E1D5
split-complementary
#8745E1 #E1D545 #51E145
monochromatic
#4C1894 #6720C8 #8745E1 #A97AE9 #CBAEF2

Accessibility & contrast

On white

5.29
#8745E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8745E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745E1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745E1#FFFFFF#000000##FFFFFF
##8745E11.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#006ADE
Tritanopia (blue-blind)
#716B8E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8745e1;
/* rgb */ color: rgb(135, 69, 225);
/* oklch */ color: oklch(55.5% 0.223 298.1);
Tailwind
colors: {
  custom: {
    50: '#b17eeb',
    500: '#8745e1',
    950: '#000000',
  },
}
SCSS
$custom: #8745e1;
$custom-light: #b17eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#8745e1",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 265.385,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.55541,
    "c": 0.22311,
    "h": 298.1
  },
  "luminance": 0.14843
}

Semantic roles & 50–950 ramp

primary
#8745E1
secondary
#C6E0A2
accent
#EF39A2
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8745E1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8745E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva