#8F5DCE#8F5DCE

#8F5DCE is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.170 H 301.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8F5DCE
RGBrgb(143, 93, 206)
HSLhsl(267, 54%, 59%)
HSVhsv(267, 55%, 81%)
CMYKcmyk(30.6%, 54.9%, 0%, 19.2%)
CIE-LABlab(49.65, 43.19, -51.23)
CIE-LCHlch(49.65, 67.00, 310.13°)
OKLaboklab(58.41% 0.0897 -0.1446)
OKLCHoklch(58.41% 0.17 301.8)
XYZxyz(26.3801, 18.1245, 60.4891)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5DCE #9CCE5D
analogous
#5D63CE #8F5DCE #C85DCE
triadic
#8F5DCE #CE8F5D #5DCE8F
tetradic
#8F5DCE #CE5D63 #9CCE5D #5DCEC8
square
#8F5DCE #CE5D63 #9CCE5D #5DCEC8
split-complementary
#8F5DCE #CEC85D #63CE5D
monochromatic
#532988 #7037B7 #8F5DCE #AF8CDC #D0BBEA

Accessibility & contrast

On white

4.54
#8F5DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8F5DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5DCE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5DCE#FFFFFF#000000##000000
##8F5DCE1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3175D2
Deuteranopia (green-blind)
#4276CB
Tritanopia (blue-blind)
#83738D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f5dce;
/* rgb */ color: rgb(143, 93, 206);
/* oklch */ color: oklch(58.4% 0.170 301.8);
Tailwind
colors: {
  custom: {
    50: '#b38cdd',
    500: '#8f5dce',
    950: '#000000',
  },
}
SCSS
$custom: #8f5dce;
$custom-light: #b38cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5dce",
  "rgb": {
    "r": 143,
    "g": 93,
    "b": 206
  },
  "hsl": {
    "h": 266.549,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58406,
    "c": 0.17018,
    "h": 301.8
  },
  "luminance": 0.18125
}

Semantic roles & 50–950 ramp

primary
#8F5DCE
secondary
#C6DAAD
accent
#DD4B9C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5DCE

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

Preview Lab → · Contrast checker → · Palette generator →

#8F5DCE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva