#8F5EEF#8F5EEF

#8F5EEF is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.7% C 0.208 H 295.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8F5EEF
RGBrgb(143, 94, 239)
HSLhsl(260, 82%, 65%)
HSVhsv(260, 61%, 94%)
CMYKcmyk(40.2%, 60.7%, 0%, 6.3%)
CIE-LABlab(51.92, 51.05, -66.24)
CIE-LCHlch(51.92, 83.63, 307.62°)
OKLaboklab(60.73% 0.0881 -0.1887)
OKLCHoklch(60.73% 0.208 295)
XYZxyz(30.9063, 20.0764, 83.8914)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5EEF #BEEF5E
analogous
#5E75EF #8F5EEF #D85EEF
triadic
#8F5EEF #EF8F5E #5EEF8F
tetradic
#8F5EEF #EF5E75 #BEEF5E #5EEFD8
square
#8F5EEF #EF5E75 #BEEF5E #5EEFD8
split-complementary
#8F5EEF #EFD85E #75EF5E
monochromatic
#4D13C0 #6826E9 #8F5EEF #B696F5 #DCCDFA

Accessibility & contrast

On white

4.19
#8F5EEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8F5EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5EEF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5EEF#FFFFFF#000000##000000
##8F5EEF1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#027AEC
Tritanopia (blue-blind)
#767E9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f5eef;
/* rgb */ color: rgb(143, 94, 239);
/* oklch */ color: oklch(60.7% 0.208 295.0);
Tailwind
colors: {
  custom: {
    50: '#b68ef5',
    500: '#8f5eef',
    950: '#000000',
  },
}
SCSS
$custom: #8f5eef;
$custom-light: #b68ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5eef",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 260.276,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60735,
    "c": 0.20829,
    "h": 295
  },
  "luminance": 0.20077
}

Semantic roles & 50–950 ramp

primary
#8F5EEF
secondary
#DCEDBC
accent
#DE0796
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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