#8F5CE1#8F5CE1

#8F5CE1 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.194 H 297.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8F5CE1
RGBrgb(143, 92, 225)
HSLhsl(263, 69%, 62%)
HSVhsv(263, 59%, 88%)
CMYKcmyk(36.4%, 59.1%, 0%, 11.8%)
CIE-LABlab(50.60, 48.52, -60.50)
CIE-LCHlch(50.60, 77.55, 308.73°)
OKLaboklab(59.48% 0.091 -0.1718)
OKLCHoklch(59.48% 0.194 297.9)
XYZxyz(28.7420, 18.9298, 73.3591)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CE1 #AEE15C
analogous
#5C6BE1 #8F5CE1 #D25CE1
triadic
#8F5CE1 #E18F5C #5CE18F
tetradic
#8F5CE1 #E15C6B #AEE15C #5CE1D2
square
#8F5CE1 #E15C6B #AEE15C #5CE1D2
split-complementary
#8F5CE1 #E1D25C #6BE15C
monochromatic
#521EA4 #6B28D7 #8F5CE1 #B390EB #D6C3F4

Accessibility & contrast

On white

4.39
#8F5CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8F5CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5CE1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5CE1#FFFFFF#000000##000000
##8F5CE11.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0179E5
Deuteranopia (green-blind)
#2877DE
Tritanopia (blue-blind)
#7C7896
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8f5ce1;
/* rgb */ color: rgb(143, 92, 225);
/* oklch */ color: oklch(59.5% 0.194 297.9);
Tailwind
colors: {
  custom: {
    50: '#b58ceb',
    500: '#8f5ce1',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ce1;
$custom-light: #b58ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ce1",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 225
  },
  "hsl": {
    "h": 263.008,
    "s": 68.912,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59483,
    "c": 0.19444,
    "h": 297.9
  },
  "luminance": 0.1893
}

Semantic roles & 50–950 ramp

primary
#8F5CE1
secondary
#D2E5B4
accent
#D11589
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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