#8F5BE8#8F5BE8

#8F5BE8 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.8% C 0.204 H 296.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8F5BE8
RGBrgb(143, 91, 232)
HSLhsl(262, 75%, 63%)
HSVhsv(262, 61%, 91%)
CMYKcmyk(38.4%, 60.8%, 0%, 9%)
CIE-LABlab(50.86, 50.84, -64.03)
CIE-LCHlch(50.86, 81.76, 308.45°)
OKLaboklab(59.81% 0.0918 -0.1822)
OKLCHoklch(59.81% 0.204 296.7)
XYZxyz(29.6305, 19.1475, 78.4630)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5BE8 #B4E85B
analogous
#5B6DE8 #8F5BE8 #D65BE8
triadic
#8F5BE8 #E88F5B #5BE88F
tetradic
#8F5BE8 #E85B6D #B4E85B #5BE8D6
square
#8F5BE8 #E85B6D #B4E85B #5BE8D6
split-complementary
#8F5BE8 #E8D65B #6DE85B
monochromatic
#5019B0 #6A25E0 #8F5BE8 #B491F0 #D8C6F7

Accessibility & contrast

On white

4.35
#8F5BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8F5BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5BE8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5BE8#FFFFFF#000000##000000
##8F5BE81.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#1477E5
Tritanopia (blue-blind)
#797A99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8f5be8;
/* rgb */ color: rgb(143, 91, 232);
/* oklch */ color: oklch(59.8% 0.204 296.7);
Tailwind
colors: {
  custom: {
    50: '#b58cf0',
    500: '#8f5be8',
    950: '#000000',
  },
}
SCSS
$custom: #8f5be8;
$custom-light: #b58cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5be8",
  "rgb": {
    "r": 143,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 262.128,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59813,
    "c": 0.20406,
    "h": 296.7
  },
  "luminance": 0.19148
}

Semantic roles & 50–950 ramp

primary
#8F5BE8
secondary
#D6E9B6
accent
#D80E8D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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