#8F5EE1#8F5EE1

#8F5EE1 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.8% C 0.192 H 297.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8F5EE1
RGBrgb(143, 94, 225)
HSLhsl(262, 69%, 63%)
HSVhsv(262, 58%, 88%)
CMYKcmyk(36.4%, 58.2%, 0%, 11.8%)
CIE-LABlab(51.01, 47.43, -59.84)
CIE-LCHlch(51.01, 76.36, 308.40°)
OKLaboklab(59.78% 0.0886 -0.1699)
OKLCHoklch(59.78% 0.192 297.5)
XYZxyz(28.9176, 19.2809, 73.4176)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5EE1 #B0E15E
analogous
#5E6EE1 #8F5EE1 #D15EE1
triadic
#8F5EE1 #E18F5E #5EE18F
tetradic
#8F5EE1 #E15E6E #B0E15E #5EE1D1
square
#8F5EE1 #E15E6E #B0E15E #5EE1D1
split-complementary
#8F5EE1 #E1D15E #6EE15E
monochromatic
#511FA6 #6B2AD7 #8F5EE1 #B392EB #D7C5F4

Accessibility & contrast

On white

4.32
#8F5EE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8F5EE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5EE1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5EE1#FFFFFF#000000##000000
##8F5EE11.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#117AE5
Deuteranopia (green-blind)
#2C78DE
Tritanopia (blue-blind)
#7C7A97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f5ee1;
/* rgb */ color: rgb(143, 94, 225);
/* oklch */ color: oklch(59.8% 0.192 297.5);
Tailwind
colors: {
  custom: {
    50: '#b48deb',
    500: '#8f5ee1',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ee1;
$custom-light: #b48deb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ee1",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 225
  },
  "hsl": {
    "h": 262.443,
    "s": 68.586,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59782,
    "c": 0.19163,
    "h": 297.5
  },
  "luminance": 0.19281
}

Semantic roles & 50–950 ramp

primary
#8F5EE1
secondary
#D3E5B6
accent
#D1158A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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