#8F5CF5#8F5CF5

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

Color values

HEX#8F5CF5
RGBrgb(143, 92, 245)
HSLhsl(260, 88%, 66%)
HSVhsv(260, 62%, 96%)
CMYKcmyk(41.6%, 62.4%, 0%, 3.9%)
CIE-LABlab(51.93, 53.68, -69.58)
CIE-LCHlch(51.93, 87.88, 307.65°)
OKLaboklab(60.87% 0.0899 -0.1985)
OKLCHoklch(60.87% 0.218 294.3)
XYZxyz(31.6319, 20.0857, 88.5788)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CF5 #C2F55C
analogous
#5C75F5 #8F5CF5 #DB5CF5
triadic
#8F5CF5 #F58F5C #5CF58F
tetradic
#8F5CF5 #F55C75 #C2F55C #5CF5DB
square
#8F5CF5 #F55C75 #C2F55C #5CF5DB
split-complementary
#8F5CF5 #F5DB5C #75F55C
monochromatic
#4C0CCA #6722F1 #8F5CF5 #B796F9 #DECFFC

Accessibility & contrast

On white

4.19
#8F5CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8F5CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5CF5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5CF5#FFFFFF#000000##000000
##8F5CF51.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFA
Deuteranopia (green-blind)
#0079F2
Tritanopia (blue-blind)
#747FA0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f5cf5;
/* rgb */ color: rgb(143, 92, 245);
/* oklch */ color: oklch(60.9% 0.218 294.3);
Tailwind
colors: {
  custom: {
    50: '#b68df9',
    500: '#8f5cf5',
    950: '#000000',
  },
}
SCSS
$custom: #8f5cf5;
$custom-light: #b68df9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5cf5",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 260,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60872,
    "c": 0.21793,
    "h": 294.3
  },
  "luminance": 0.20087
}

Semantic roles & 50–950 ramp

primary
#8F5CF5
secondary
#DFF0BD
accent
#E50099
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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