#8F3DC2#8F3DC2

#8F3DC2 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.2% C 0.202 H 309.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8F3DC2
RGBrgb(143, 61, 194)
HSLhsl(277, 52%, 50%)
HSVhsv(277, 69%, 76%)
CMYKcmyk(26.3%, 68.6%, 0%, 23.9%)
CIE-LABlab(42.87, 56.60, -55.18)
CIE-LCHlch(42.87, 79.05, 315.73°)
OKLaboklab(53.24% 0.1283 -0.1561)
OKLCHoklch(53.24% 0.202 309.4)
XYZxyz(22.7321, 13.0726, 52.3542)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DC2 #70C23D
analogous
#4C3DC2 #8F3DC2 #C23DB3
triadic
#8F3DC2 #C28F3D #3DC28F
tetradic
#8F3DC2 #C24C3D #70C23D #3DB3C2
square
#8F3DC2 #C24C3D #70C23D #3DB3C2
split-complementary
#8F3DC2 #B3C23D #3DC24C
monochromatic
#4A2065 #6D2E93 #8F3DC2 #AA6CD1 #C59ADF

Accessibility & contrast

On white

5.81
#8F3DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#8F3DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DC2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DC2#FFFFFF#000000##FFFFFF
##8F3DC21.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#2566BF
Tritanopia (blue-blind)
#885A7B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f3dc2;
/* rgb */ color: rgb(143, 61, 194);
/* oklch */ color: oklch(53.2% 0.202 309.4);
Tailwind
colors: {
  custom: {
    50: '#b479d5',
    500: '#8f3dc2',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dc2;
$custom-light: #b479d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dc2",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 276.992,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.53243,
    "c": 0.20209,
    "h": 309.4
  },
  "luminance": 0.13072
}

Semantic roles & 50–950 ramp

primary
#8F3DC2
secondary
#A6CB90
accent
#DC4C83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F3DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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