#8F3DC1#8F3DC1

#8F3DC1 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.2% C 0.201 H 309.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#8F3DC1
RGBrgb(143, 61, 193)
HSLhsl(277, 52%, 50%)
HSVhsv(277, 68%, 76%)
CMYKcmyk(25.9%, 68.4%, 0%, 24.3%)
CIE-LABlab(42.81, 56.38, -54.71)
CIE-LCHlch(42.81, 78.56, 315.86°)
OKLaboklab(53.17% 0.1284 -0.1547)
OKLCHoklch(53.17% 0.201 309.7)
XYZxyz(22.6202, 13.0278, 51.7647)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DC1 #6FC13D
analogous
#4D3DC1 #8F3DC1 #C13DB1
triadic
#8F3DC1 #C18F3D #3DC18F
tetradic
#8F3DC1 #C14D3D #6FC13D #3DB1C1
square
#8F3DC1 #C14D3D #6FC13D #3DB1C1
split-complementary
#8F3DC1 #B1C13D #3DC14D
monochromatic
#4A2064 #6D2E92 #8F3DC1 #AA6BD0 #C599DF

Accessibility & contrast

On white

5.82
#8F3DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F3DC1
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DC1#FFFFFF#000000##FFFFFF
##8F3DC11.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C5
Deuteranopia (green-blind)
#2666BE
Tritanopia (blue-blind)
#88597A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f3dc1;
/* rgb */ color: rgb(143, 61, 193);
/* oklch */ color: oklch(53.2% 0.201 309.7);
Tailwind
colors: {
  custom: {
    50: '#b479d4',
    500: '#8f3dc1',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dc1;
$custom-light: #b479d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dc1",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 193
  },
  "hsl": {
    "h": 277.273,
    "s": 51.969,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53173,
    "c": 0.20109,
    "h": 309.7
  },
  "luminance": 0.13027
}

Semantic roles & 50–950 ramp

primary
#8F3DC1
secondary
#A6CB8F
accent
#DB4C83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F3DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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