#8F60E4#8F60E4

#8F60E4 is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.3% C 0.192 H 296.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8F60E4
RGBrgb(143, 96, 228)
HSLhsl(261, 71%, 64%)
HSVhsv(261, 58%, 89%)
CMYKcmyk(37.3%, 57.9%, 0%, 10.6%)
CIE-LABlab(51.62, 47.12, -60.56)
CIE-LCHlch(51.62, 76.73, 307.88°)
OKLaboklab(60.28% 0.0862 -0.172)
OKLCHoklch(60.28% 0.192 296.6)
XYZxyz(29.5106, 19.8063, 75.6520)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F60E4 #B5E460
analogous
#6073E4 #8F60E4 #D160E4
triadic
#8F60E4 #E48F60 #60E48F
tetradic
#8F60E4 #E46073 #B5E460 #60E4D1
square
#8F60E4 #E46073 #B5E460 #60E4D1
split-complementary
#8F60E4 #E4D160 #73E460
monochromatic
#501DAC #6A2CDB #8F60E4 #B494ED #D9C9F6

Accessibility & contrast

On white

4.23
#8F60E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8F60E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F60E4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F60E4#FFFFFF#000000##000000
##8F60E41.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#127CE8
Deuteranopia (green-blind)
#2C79E1
Tritanopia (blue-blind)
#7B7C99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f60e4;
/* rgb */ color: rgb(143, 96, 228);
/* oklch */ color: oklch(60.3% 0.192 296.6);
Tailwind
colors: {
  custom: {
    50: '#b58fed',
    500: '#8f60e4',
    950: '#000000',
  },
}
SCSS
$custom: #8f60e4;
$custom-light: #b58fed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f60e4",
  "rgb": {
    "r": 143,
    "g": 96,
    "b": 228
  },
  "hsl": {
    "h": 261.364,
    "s": 70.968,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60284,
    "c": 0.19242,
    "h": 296.6
  },
  "luminance": 0.19807
}

Semantic roles & 50–950 ramp

primary
#8F60E4
secondary
#D7E7B9
accent
#D3138E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F60E4

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

Preview Lab → · Contrast checker → · Palette generator →

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