#8F5EE4#8F5EE4

#8F5EE4 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.0% C 0.195 H 297.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8F5EE4
RGBrgb(143, 94, 228)
HSLhsl(262, 71%, 63%)
HSVhsv(262, 59%, 89%)
CMYKcmyk(37.3%, 58.8%, 0%, 10.6%)
CIE-LABlab(51.20, 48.20, -61.22)
CIE-LCHlch(51.20, 77.92, 308.22°)
OKLaboklab(59.98% 0.0886 -0.174)
OKLCHoklch(59.98% 0.195 297)
XYZxyz(29.3304, 19.4460, 75.5919)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5EE4 #B3E45E
analogous
#5E70E4 #8F5EE4 #D25EE4
triadic
#8F5EE4 #E48F5E #5EE48F
tetradic
#8F5EE4 #E45E70 #B3E45E #5EE4D2
square
#8F5EE4 #E45E70 #B3E45E #5EE4D2
split-complementary
#8F5EE4 #E4D25E #70E45E
monochromatic
#511DAB #6B2ADB #8F5EE4 #B392ED #D8C7F6

Accessibility & contrast

On white

4.30
#8F5EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8F5EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5EE4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5EE4#FFFFFF#000000##000000
##8F5EE41.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#027BE8
Deuteranopia (green-blind)
#2778E1
Tritanopia (blue-blind)
#7B7B98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8f5ee4;
/* rgb */ color: rgb(143, 94, 228);
/* oklch */ color: oklch(60.0% 0.195 297.0);
Tailwind
colors: {
  custom: {
    50: '#b58eed',
    500: '#8f5ee4',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ee4;
$custom-light: #b58eed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ee4",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 261.94,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59982,
    "c": 0.19523,
    "h": 297
  },
  "luminance": 0.19446
}

Semantic roles & 50–950 ramp

primary
#8F5EE4
secondary
#D5E7B7
accent
#D3128D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F5EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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