#8F5CF1#8F5CF1

#8F5CF1 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.6% C 0.213 H 295.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8F5CF1
RGBrgb(143, 92, 241)
HSLhsl(261, 84%, 65%)
HSVhsv(261, 62%, 95%)
CMYKcmyk(40.7%, 61.8%, 0%, 5.5%)
CIE-LABlab(51.66, 52.64, -67.79)
CIE-LCHlch(51.66, 85.82, 307.83°)
OKLaboklab(60.59% 0.0902 -0.1933)
OKLCHoklch(60.59% 0.213 295)
XYZxyz(31.0278, 19.8441, 85.3976)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5CF1 #BEF15C
analogous
#5C73F1 #8F5CF1 #DA5CF1
triadic
#8F5CF1 #F18F5C #5CF18F
tetradic
#8F5CF1 #F15C73 #BEF15C #5CF1DA
square
#8F5CF1 #F15C73 #BEF15C #5CF1DA
split-complementary
#8F5CF1 #F1DA5C #73F15C
monochromatic
#4D11C2 #6824EC #8F5CF1 #B694F6 #DCCDFB

Accessibility & contrast

On white

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

On black

4.97
#8F5CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5CF1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5CF1#FFFFFF#000000##000000
##8F5CF11.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF6
Deuteranopia (green-blind)
#0079EE
Tritanopia (blue-blind)
#757E9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8f5cf1;
/* rgb */ color: rgb(143, 92, 241);
/* oklch */ color: oklch(60.6% 0.213 295.0);
Tailwind
colors: {
  custom: {
    50: '#b68df7',
    500: '#8f5cf1',
    950: '#000000',
  },
}
SCSS
$custom: #8f5cf1;
$custom-light: #b68df7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5cf1",
  "rgb": {
    "r": 143,
    "g": 92,
    "b": 241
  },
  "hsl": {
    "h": 260.537,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60587,
    "c": 0.21327,
    "h": 295
  },
  "luminance": 0.19845
}

Semantic roles & 50–950 ramp

primary
#8F5CF1
secondary
#DCEEBB
accent
#E10595
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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