#8F5CCE#8F5CCE

#8F5CCE is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.3% C 0.172 H 302.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8F5CCE
RGBrgb(143, 92, 206)
HSLhsl(267, 54%, 58%)
HSVhsv(267, 55%, 81%)
CMYKcmyk(30.6%, 55.3%, 0%, 19.2%)
CIE-LABlab(49.44, 43.74, -51.57)
CIE-LCHlch(49.44, 67.62, 310.31°)
OKLaboklab(58.25% 0.0909 -0.1456)
OKLCHoklch(58.25% 0.172 302)
XYZxyz(26.2929, 17.9501, 60.4601)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CCE #9BCE5C
analogous
#5C62CE #8F5CCE #C85CCE
triadic
#8F5CCE #CE8F5C #5CCE8F
tetradic
#8F5CCE #CE5C62 #9BCE5C #5CCEC8
square
#8F5CCE #CE5C62 #9BCE5C #5CCEC8
split-complementary
#8F5CCE #CEC85C #62CE5C
monochromatic
#532987 #7037B6 #8F5CCE #AF8BDC #D0BAEA

Accessibility & contrast

On white

4.58
#8F5CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8F5CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5CCE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5CCE#FFFFFF#000000##000000
##8F5CCE1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D2
Deuteranopia (green-blind)
#4175CB
Tritanopia (blue-blind)
#83728C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f5cce;
/* rgb */ color: rgb(143, 92, 206);
/* oklch */ color: oklch(58.3% 0.172 302.0);
Tailwind
colors: {
  custom: {
    50: '#b38cdd',
    500: '#8f5cce',
    950: '#000000',
  },
}
SCSS
$custom: #8f5cce;
$custom-light: #b38cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5cce",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 206
  },
  "hsl": {
    "h": 266.842,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5825,
    "c": 0.17169,
    "h": 302
  },
  "luminance": 0.1795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F5CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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