#8745CE#8745CE

#8745CE is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.1% C 0.203 H 302.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8745CE
RGBrgb(135, 69, 206)
HSLhsl(269, 58%, 54%)
HSVhsv(269, 67%, 81%)
CMYKcmyk(34.5%, 66.5%, 0%, 19.2%)
CIE-LABlab(44.04, 53.96, -60.30)
CIE-LCHlch(44.04, 80.92, 311.82°)
OKLaboklab(54.12% 0.1077 -0.1715)
OKLCHoklch(54.12% 0.203 302.1)
XYZxyz(23.2577, 13.8633, 59.8311)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8745CE #8CCE45
analogous
#4548CE #8745CE #CC45CE
triadic
#8745CE #CE8745 #45CE87
tetradic
#8745CE #CE4548 #8CCE45 #45CECC
square
#8745CE #CE4548 #8CCE45 #45CECC
split-complementary
#8745CE #CECC45 #48CE45
monochromatic
#4B2079 #692DA9 #8745CE #A675DB #C6A6E8

Accessibility & contrast

On white

5.57
#8745CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8745CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8745CE
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8745CE#FFFFFF#000000##FFFFFF
##8745CE1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#0068CB
Tritanopia (blue-blind)
#786484
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8745ce;
/* rgb */ color: rgb(135, 69, 206);
/* oklch */ color: oklch(54.1% 0.203 302.1);
Tailwind
colors: {
  custom: {
    50: '#af7dde',
    500: '#8745ce',
    950: '#000000',
  },
}
SCSS
$custom: #8745ce;
$custom-light: #af7dde;
$custom-dark: #000000;
JSON
{
  "hex": "#8745ce",
  "rgb": {
    "r": 135,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 268.905,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54119,
    "c": 0.2025,
    "h": 302.1
  },
  "luminance": 0.13863
}

Semantic roles & 50–950 ramp

primary
#8745CE
secondary
#B8D59A
accent
#E24697
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8745CE

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

Preview Lab → · Contrast checker → · Palette generator →

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