#8F3DC4#8F3DC4

#8F3DC4 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.4% C 0.204 H 308.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8F3DC4
RGBrgb(143, 61, 196)
HSLhsl(276, 53%, 50%)
HSVhsv(276, 69%, 77%)
CMYKcmyk(27%, 68.9%, 0%, 23.1%)
CIE-LABlab(43.01, 57.04, -56.13)
CIE-LCHlch(43.01, 80.03, 315.46°)
OKLaboklab(53.38% 0.1281 -0.1589)
OKLCHoklch(53.38% 0.204 308.9)
XYZxyz(22.9582, 13.1630, 53.5451)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DC4 #72C43D
analogous
#4B3DC4 #8F3DC4 #C43DB6
triadic
#8F3DC4 #C48F3D #3DC48F
tetradic
#8F3DC4 #C44B3D #72C43D #3DB6C4
square
#8F3DC4 #C44B3D #72C43D #3DB6C4
split-complementary
#8F3DC4 #B6C43D #3DC44B
monochromatic
#4B1F67 #6D2E96 #8F3DC4 #AA6CD2 #C59BE1

Accessibility & contrast

On white

5.78
#8F3DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8F3DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DC4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DC4#FFFFFF#000000##FFFFFF
##8F3DC41.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C8
Deuteranopia (green-blind)
#2167C1
Tritanopia (blue-blind)
#875A7C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f3dc4;
/* rgb */ color: rgb(143, 61, 196);
/* oklch */ color: oklch(53.4% 0.204 308.9);
Tailwind
colors: {
  custom: {
    50: '#b479d7',
    500: '#8f3dc4',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dc4;
$custom-light: #b479d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dc4",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 196
  },
  "hsl": {
    "h": 276.444,
    "s": 53.36,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53382,
    "c": 0.20411,
    "h": 308.9
  },
  "luminance": 0.13163
}

Semantic roles & 50–950 ramp

primary
#8F3DC4
secondary
#A8CD90
accent
#DD4B84
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F3DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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