#8F5CC9#8F5CC9

#8F5CC9 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.9% C 0.166 H 303.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8F5CC9
RGBrgb(143, 92, 201)
HSLhsl(268, 50%, 57%)
HSVhsv(268, 54%, 79%)
CMYKcmyk(28.9%, 54.2%, 0%, 21.2%)
CIE-LABlab(49.14, 42.51, -49.17)
CIE-LCHlch(49.14, 64.99, 310.85°)
OKLaboklab(57.94% 0.0907 -0.1386)
OKLCHoklch(57.94% 0.166 303.2)
XYZxyz(25.6951, 17.7110, 57.3119)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CC9 #96C95C
analogous
#5C60C9 #8F5CC9 #C55CC9
triadic
#8F5CC9 #C98F5C #5CC98F
tetradic
#8F5CC9 #C95C60 #96C95C #5CC9C5
square
#8F5CC9 #C95C60 #96C95C #5CC9C5
split-complementary
#8F5CC9 #C9C55C #60C95C
monochromatic
#532A80 #703AAE #8F5CC9 #AF8AD8 #CEB8E7

Accessibility & contrast

On white

4.62
#8F5CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#8F5CC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5CC9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5CC9#FFFFFF#000000##FFFFFF
##8F5CC91.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3474CD
Deuteranopia (green-blind)
#4575C6
Tritanopia (blue-blind)
#84718A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f5cc9;
/* rgb */ color: rgb(143, 92, 201);
/* oklch */ color: oklch(57.9% 0.166 303.2);
Tailwind
colors: {
  custom: {
    50: '#b38cda',
    500: '#8f5cc9',
    950: '#000000',
  },
}
SCSS
$custom: #8f5cc9;
$custom-light: #b38cda;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5cc9",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 201
  },
  "hsl": {
    "h": 268.073,
    "s": 50.23,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57941,
    "c": 0.16566,
    "h": 303.2
  },
  "luminance": 0.17711
}

Semantic roles & 50–950 ramp

primary
#8F5CC9
secondary
#C2D6AA
accent
#DA4E98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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