#8F5BE9#8F5BE9

#8F5BE9 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.9% C 0.205 H 296.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8F5BE9
RGBrgb(143, 91, 233)
HSLhsl(262, 76%, 64%)
HSVhsv(262, 61%, 91%)
CMYKcmyk(38.6%, 60.9%, 0%, 8.6%)
CIE-LABlab(50.93, 51.10, -64.49)
CIE-LCHlch(50.93, 82.28, 308.39°)
OKLaboklab(59.88% 0.0918 -0.1836)
OKLCHoklch(59.88% 0.205 296.6)
XYZxyz(29.7730, 19.2045, 79.2132)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5BE9 #B5E95B
analogous
#5B6EE9 #8F5BE9 #D65BE9
triadic
#8F5BE9 #E98F5B #5BE98F
tetradic
#8F5BE9 #E95B6E #B5E95B #5BE9D6
square
#8F5BE9 #E95B6E #B5E95B #5BE9D6
split-complementary
#8F5BE9 #E9D65B #6EE95B
monochromatic
#5018B2 #6A25E2 #8F5BE9 #B491F0 #D9C7F7

Accessibility & contrast

On white

4.34
#8F5BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8F5BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5BE9
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5BE9#FFFFFF#000000##000000
##8F5BE91.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#1077E6
Tritanopia (blue-blind)
#797A9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f5be9;
/* rgb */ color: rgb(143, 91, 233);
/* oklch */ color: oklch(59.9% 0.205 296.6);
Tailwind
colors: {
  custom: {
    50: '#b58cf1',
    500: '#8f5be9',
    950: '#000000',
  },
}
SCSS
$custom: #8f5be9;
$custom-light: #b58cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5be9",
  "rgb": {
    "r": 143,
    "g": 91,
    "b": 233
  },
  "hsl": {
    "h": 261.972,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59882,
    "c": 0.20524,
    "h": 296.6
  },
  "luminance": 0.19205
}

Semantic roles & 50–950 ramp

primary
#8F5BE9
secondary
#D7E9B7
accent
#D90D8E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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