#8F59E3#8F59E3

#8F59E3 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.2% C 0.201 H 298.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8F59E3
RGBrgb(143, 89, 227)
HSLhsl(263, 71%, 62%)
HSVhsv(263, 61%, 89%)
CMYKcmyk(37%, 60.8%, 0%, 11%)
CIE-LABlab(50.13, 50.63, -62.39)
CIE-LCHlch(50.13, 80.34, 309.06°)
OKLaboklab(59.18% 0.0943 -0.1774)
OKLCHoklch(59.18% 0.201 298)
XYZxyz(28.7617, 18.5301, 74.7195)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F59E3 #ADE359
analogous
#5968E3 #8F59E3 #D459E3
triadic
#8F59E3 #E38F59 #59E38F
tetradic
#8F59E3 #E35968 #ADE359 #59E3D4
square
#8F59E3 #E35968 #ADE359 #59E3D4
split-complementary
#8F59E3 #E3D459 #68E359
monochromatic
#521CA6 #6C25DA #8F59E3 #B28DEC #D6C2F5

Accessibility & contrast

On white

4.46
#8F59E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8F59E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F59E3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F59E3#FFFFFF#000000##000000
##8F59E31.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#1C76E0
Tritanopia (blue-blind)
#7C7796
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8f59e3;
/* rgb */ color: rgb(143, 89, 227);
/* oklch */ color: oklch(59.2% 0.201 298.0);
Tailwind
colors: {
  custom: {
    50: '#b58aed',
    500: '#8f59e3',
    950: '#000000',
  },
}
SCSS
$custom: #8f59e3;
$custom-light: #b58aed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f59e3",
  "rgb": {
    "r": 143,
    "g": 89,
    "b": 227
  },
  "hsl": {
    "h": 263.478,
    "s": 71.134,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5918,
    "c": 0.20092,
    "h": 298
  },
  "luminance": 0.1853
}

Semantic roles & 50–950 ramp

primary
#8F59E3
secondary
#D1E5B2
accent
#D31288
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F59E3

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

Preview Lab → · Contrast checker → · Palette generator →

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