#8F5CE6#8F5CE6

#8F5CE6 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.8% C 0.200 H 296.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8F5CE6
RGBrgb(143, 92, 230)
HSLhsl(262, 73%, 63%)
HSVhsv(262, 60%, 90%)
CMYKcmyk(37.8%, 60%, 0%, 9.8%)
CIE-LABlab(50.93, 49.80, -62.80)
CIE-LCHlch(50.93, 80.14, 308.41°)
OKLaboklab(59.82% 0.0908 -0.1786)
OKLCHoklch(59.82% 0.2 296.9)
XYZxyz(29.4341, 19.2066, 77.0041)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CE6 #B3E65C
analogous
#5C6EE6 #8F5CE6 #D45CE6
triadic
#8F5CE6 #E68F5C #5CE68F
tetradic
#8F5CE6 #E65C6E #B3E65C #5CE6D4
square
#8F5CE6 #E65C6E #B3E65C #5CE6D4
split-complementary
#8F5CE6 #E6D45C #6EE65C
monochromatic
#511BAD #6B27DE #8F5CE6 #B391EE #D8C6F6

Accessibility & contrast

On white

4.34
#8F5CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8F5CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5CE6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5CE6#FFFFFF#000000##000000
##8F5CE61.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#1D78E3
Tritanopia (blue-blind)
#7A7A98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f5ce6;
/* rgb */ color: rgb(143, 92, 230);
/* oklch */ color: oklch(59.8% 0.200 296.9);
Tailwind
colors: {
  custom: {
    50: '#b58cef',
    500: '#8f5ce6',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ce6;
$custom-light: #b58cef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ce6",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 262.174,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59821,
    "c": 0.20036,
    "h": 296.9
  },
  "luminance": 0.19207
}

Semantic roles & 50–950 ramp

primary
#8F5CE6
secondary
#D5E8B6
accent
#D6108D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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