#8F5CC8#8F5CC8

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

Color values

HEX#8F5CC8
RGBrgb(143, 92, 200)
HSLhsl(268, 50%, 57%)
HSVhsv(268, 54%, 78%)
CMYKcmyk(28.5%, 54%, 0%, 21.6%)
CIE-LABlab(49.09, 42.26, -48.68)
CIE-LCHlch(49.09, 64.47, 310.96°)
OKLaboklab(57.88% 0.0907 -0.1372)
OKLCHoklch(57.88% 0.164 303.5)
XYZxyz(25.5778, 17.6641, 56.6944)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CC8 #95C85C
analogous
#5C5FC8 #8F5CC8 #C55CC8
triadic
#8F5CC8 #C88F5C #5CC88F
tetradic
#8F5CC8 #C85C5F #95C85C #5CC8C5
square
#8F5CC8 #C85C5F #95C85C #5CC8C5
split-complementary
#8F5CC8 #C8C55C #5FC85C
monochromatic
#522B7F #703AAD #8F5CC8 #AE8AD7 #CEB8E7

Accessibility & contrast

On white

4.63
#8F5CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8F5CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F5CC8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5CC8#FFFFFF#000000##FFFFFF
##8F5CC81.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3573CC
Deuteranopia (green-blind)
#4675C5
Tritanopia (blue-blind)
#857089
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f5cc8;
/* rgb */ color: rgb(143, 92, 200);
/* oklch */ color: oklch(57.9% 0.164 303.5);
Tailwind
colors: {
  custom: {
    50: '#b38cd9',
    500: '#8f5cc8',
    950: '#000000',
  },
}
SCSS
$custom: #8f5cc8;
$custom-light: #b38cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5cc8",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 268.333,
    "s": 49.541,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5788,
    "c": 0.16446,
    "h": 303.5
  },
  "luminance": 0.17664
}

Semantic roles & 50–950 ramp

primary
#8F5CC8
secondary
#C1D6AA
accent
#D94F98
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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