#8F5EE0#8F5EE0

#8F5EE0 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.7% C 0.190 H 297.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8F5EE0
RGBrgb(143, 94, 224)
HSLhsl(263, 68%, 62%)
HSVhsv(263, 58%, 88%)
CMYKcmyk(36.2%, 58%, 0%, 12.2%)
CIE-LABlab(50.95, 47.18, -59.37)
CIE-LCHlch(50.95, 75.83, 308.47°)
OKLaboklab(59.72% 0.0886 -0.1685)
OKLCHoklch(59.72% 0.19 297.7)
XYZxyz(28.7816, 19.2265, 72.7013)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5EE0 #AFE05E
analogous
#5E6EE0 #8F5EE0 #D05EE0
triadic
#8F5EE0 #E08F5E #5EE08F
tetradic
#8F5EE0 #E05E6E #AFE05E #5EE0D0
square
#8F5EE0 #E05E6E #AFE05E #5EE0D0
split-complementary
#8F5EE0 #E0D05E #6EE05E
monochromatic
#5120A4 #6B2BD6 #8F5EE0 #B391EA #D6C5F4

Accessibility & contrast

On white

4.33
#8F5EE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8F5EE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5EE0
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5EE0#FFFFFF#000000##000000
##8F5EE01.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#147AE4
Deuteranopia (green-blind)
#2E78DD
Tritanopia (blue-blind)
#7C7996
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f5ee0;
/* rgb */ color: rgb(143, 94, 224);
/* oklch */ color: oklch(59.7% 0.190 297.7);
Tailwind
colors: {
  custom: {
    50: '#b48dea',
    500: '#8f5ee0',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ee0;
$custom-light: #b48dea;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ee0",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 224
  },
  "hsl": {
    "h": 262.615,
    "s": 67.708,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59716,
    "c": 0.19043,
    "h": 297.7
  },
  "luminance": 0.19227
}

Semantic roles & 50–950 ramp

primary
#8F5EE0
secondary
#D3E5B5
accent
#D0168A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5EE0

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

Preview Lab → · Contrast checker → · Palette generator →

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