#8F5CF6#8F5CF6

#8F5CF6 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.9% C 0.219 H 294.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8F5CF6
RGBrgb(143, 92, 246)
HSLhsl(260, 90%, 66%)
HSVhsv(260, 63%, 96%)
CMYKcmyk(41.9%, 62.6%, 0%, 3.5%)
CIE-LABlab(52.00, 53.94, -70.02)
CIE-LCHlch(52.00, 88.39, 307.61°)
OKLaboklab(60.94% 0.0898 -0.1999)
OKLCHoklch(60.94% 0.219 294.2)
XYZxyz(31.7849, 20.1469, 89.3850)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CF6 #C3F65C
analogous
#5C76F6 #8F5CF6 #DC5CF6
triadic
#8F5CF6 #F68F5C #5CF68F
tetradic
#8F5CF6 #F65C76 #C3F65C #5CF6DC
square
#8F5CF6 #F65C76 #C3F65C #5CF6DC
split-complementary
#8F5CF6 #F6DC5C #76F65C
monochromatic
#4B0BCC #6722F3 #8F5CF6 #B796F9 #DFD0FC

Accessibility & contrast

On white

4.18
#8F5CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8F5CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5CF6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5CF6#FFFFFF#000000##000000
##8F5CF61.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFB
Deuteranopia (green-blind)
#0079F3
Tritanopia (blue-blind)
#7380A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f5cf6;
/* rgb */ color: rgb(143, 92, 246);
/* oklch */ color: oklch(60.9% 0.219 294.2);
Tailwind
colors: {
  custom: {
    50: '#b68dfa',
    500: '#8f5cf6',
    950: '#000000',
  },
}
SCSS
$custom: #8f5cf6;
$custom-light: #b68dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5cf6",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 246
  },
  "hsl": {
    "h": 259.87,
    "s": 89.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60943,
    "c": 0.2191,
    "h": 294.2
  },
  "luminance": 0.20148
}

Semantic roles & 50–950 ramp

primary
#8F5CF6
secondary
#DFF0BE
accent
#E60099
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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