#8F5EEE#8F5EEE

#8F5EEE is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.7% C 0.207 H 295.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8F5EEE
RGBrgb(143, 94, 238)
HSLhsl(260, 81%, 65%)
HSVhsv(260, 61%, 93%)
CMYKcmyk(39.9%, 60.5%, 0%, 6.7%)
CIE-LABlab(51.86, 50.79, -65.79)
CIE-LCHlch(51.86, 83.12, 307.67°)
OKLaboklab(60.67% 0.0882 -0.1874)
OKLCHoklch(60.67% 0.207 295.2)
XYZxyz(30.7590, 20.0174, 83.1155)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5EEE #BDEE5E
analogous
#5E75EE #8F5EEE #D75EEE
triadic
#8F5EEE #EE8F5E #5EEE8F
tetradic
#8F5EEE #EE5E75 #BDEE5E #5EEED7
square
#8F5EEE #EE5E75 #BDEE5E #5EEED7
split-complementary
#8F5EEE #EED75E #75EE5E
monochromatic
#4E14BE #6827E8 #8F5EEE #B695F4 #DCCDFA

Accessibility & contrast

On white

4.20
#8F5EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8F5EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5EEE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5EEE#FFFFFF#000000##000000
##8F5EEE1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#0879EB
Tritanopia (blue-blind)
#777E9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f5eee;
/* rgb */ color: rgb(143, 94, 238);
/* oklch */ color: oklch(60.7% 0.207 295.2);
Tailwind
colors: {
  custom: {
    50: '#b68ef4',
    500: '#8f5eee',
    950: '#000000',
  },
}
SCSS
$custom: #8f5eee;
$custom-light: #b68ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5eee",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 238
  },
  "hsl": {
    "h": 260.417,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60666,
    "c": 0.20711,
    "h": 295.2
  },
  "luminance": 0.20018
}

Semantic roles & 50–950 ramp

primary
#8F5EEE
secondary
#DCECBB
accent
#DD0895
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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