#8F5CCD#8F5CCD

#8F5CCD is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.2% C 0.170 H 302.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#8F5CCD
RGBrgb(143, 92, 205)
HSLhsl(267, 53%, 58%)
HSVhsv(267, 55%, 80%)
CMYKcmyk(30.2%, 55.1%, 0%, 19.6%)
CIE-LABlab(49.38, 43.49, -51.09)
CIE-LCHlch(49.38, 67.09, 310.41°)
OKLaboklab(58.19% 0.0909 -0.1442)
OKLCHoklch(58.19% 0.17 302.2)
XYZxyz(26.1718, 17.9017, 59.8223)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CCD #9ACD5C
analogous
#5C61CD #8F5CCD #C85CCD
triadic
#8F5CCD #CD8F5C #5CCD8F
tetradic
#8F5CCD #CD5C61 #9ACD5C #5CCDC8
square
#8F5CCD #CD5C61 #9ACD5C #5CCDC8
split-complementary
#8F5CCD #CDC85C #61CD5C
monochromatic
#532986 #7037B4 #8F5CCD #AF8BDB #CFBAEA

Accessibility & contrast

On white

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

On black

4.58
#8F5CCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5CCD
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5CCD#FFFFFF#000000##000000
##8F5CCD1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3074D1
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#83728C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f5ccd;
/* rgb */ color: rgb(143, 92, 205);
/* oklch */ color: oklch(58.2% 0.170 302.2);
Tailwind
colors: {
  custom: {
    50: '#b38cdd',
    500: '#8f5ccd',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ccd;
$custom-light: #b38cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ccd",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 267.08,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58188,
    "c": 0.17048,
    "h": 302.2
  },
  "luminance": 0.17902
}

Semantic roles & 50–950 ramp

primary
#8F5CCD
secondary
#C5D9AC
accent
#DC4B9B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F5CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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