#8F5CED#8F5CED

#8F5CED is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.209 H 295.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8F5CED
RGBrgb(143, 92, 237)
HSLhsl(261, 80%, 65%)
HSVhsv(261, 61%, 93%)
CMYKcmyk(39.7%, 61.2%, 0%, 7.1%)
CIE-LABlab(51.39, 51.60, -65.98)
CIE-LCHlch(51.39, 83.76, 308.03°)
OKLaboklab(60.31% 0.0904 -0.188)
OKLCHoklch(60.31% 0.209 295.7)
XYZxyz(30.4369, 19.6077, 82.2854)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CED #BAED5C
analogous
#5C72ED #8F5CED #D75CED
triadic
#8F5CED #ED8F5C #5CED8F
tetradic
#8F5CED #ED5C72 #BAED5C #5CEDD7
square
#8F5CED #ED5C72 #BAED5C #5CEDD7
split-complementary
#8F5CED #EDD75C #72ED5C
monochromatic
#4F15BA #6925E7 #8F5CED #B593F3 #DBCAF9

Accessibility & contrast

On white

4.27
#8F5CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8F5CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5CED
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5CED#FFFFFF#000000##000000
##8F5CED1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#777C9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f5ced;
/* rgb */ color: rgb(143, 92, 237);
/* oklch */ color: oklch(60.3% 0.209 295.7);
Tailwind
colors: {
  custom: {
    50: '#b68cf4',
    500: '#8f5ced',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ced;
$custom-light: #b68cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ced",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 261.103,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60305,
    "c": 0.2086,
    "h": 295.7
  },
  "luminance": 0.19608
}

Semantic roles & 50–950 ramp

primary
#8F5CED
secondary
#DAEBB9
accent
#DC0992
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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