#8F5EF1#8F5EF1

#8F5EF1 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.9% C 0.211 H 294.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8F5EF1
RGBrgb(143, 94, 241)
HSLhsl(260, 84%, 66%)
HSVhsv(260, 61%, 95%)
CMYKcmyk(40.7%, 61%, 0%, 5.5%)
CIE-LABlab(52.06, 51.57, -67.14)
CIE-LCHlch(52.06, 84.67, 307.53°)
OKLaboklab(60.88% 0.088 -0.1914)
OKLCHoklch(60.88% 0.211 294.7)
XYZxyz(31.2034, 20.1952, 85.4561)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5EF1 #C0F15E
analogous
#5E76F1 #8F5EF1 #D85EF1
triadic
#8F5EF1 #F18F5E #5EF18F
tetradic
#8F5EF1 #F15E76 #C0F15E #5EF1D8
square
#8F5EF1 #F15E76 #C0F15E #5EF1D8
split-complementary
#8F5EF1 #F1D85E #76F15E
monochromatic
#4D11C4 #6826EC #8F5EF1 #B696F6 #DDCFFB

Accessibility & contrast

On white

4.17
#8F5EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8F5EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5EF1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5EF1#FFFFFF#000000##000000
##8F5EF11.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF6
Deuteranopia (green-blind)
#007AEE
Tritanopia (blue-blind)
#757F9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f5ef1;
/* rgb */ color: rgb(143, 94, 241);
/* oklch */ color: oklch(60.9% 0.211 294.7);
Tailwind
colors: {
  custom: {
    50: '#b68ef6',
    500: '#8f5ef1',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ef1;
$custom-light: #b68ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ef1",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 260,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60875,
    "c": 0.21065,
    "h": 294.7
  },
  "luminance": 0.20196
}

Semantic roles & 50–950 ramp

primary
#8F5EF1
secondary
#DEEEBD
accent
#E00597
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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