#8F3CD2#8F3CD2

#8F3CD2 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.3% C 0.219 H 305.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8F3CD2
RGBrgb(143, 60, 210)
HSLhsl(273, 63%, 53%)
HSVhsv(273, 71%, 82%)
CMYKcmyk(31.9%, 71.4%, 0%, 17.6%)
CIE-LABlab(43.84, 60.62, -62.89)
CIE-LCHlch(43.84, 87.34, 313.95°)
OKLaboklab(54.28% 0.1271 -0.1788)
OKLCHoklch(54.28% 0.219 305.4)
XYZxyz(24.5738, 13.7247, 62.3148)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3CD2 #7FD23C
analogous
#443CD2 #8F3CD2 #D23CCA
triadic
#8F3CD2 #D28F3C #3CD28F
tetradic
#8F3CD2 #D2443C #7FD23C #3CCAD2
square
#8F3CD2 #D2443C #7FD23C #3CCAD2
split-complementary
#8F3CD2 #CAD23C #3CD244
monochromatic
#4F1C78 #6F27AA #8F3CD2 #AC6EDD #C89FE9

Accessibility & contrast

On white

5.61
#8F3CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8F3CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3CD2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3CD2#FFFFFF#000000##FFFFFF
##8F3CD21.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#835F83
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f3cd2;
/* rgb */ color: rgb(143, 60, 210);
/* oklch */ color: oklch(54.3% 0.219 305.4);
Tailwind
colors: {
  custom: {
    50: '#b579e1',
    500: '#8f3cd2',
    950: '#000000',
  },
}
SCSS
$custom: #8f3cd2;
$custom-light: #b579e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3cd2",
  "rgb": {
    "r": 143,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 273.2,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54282,
    "c": 0.21936,
    "h": 305.4
  },
  "luminance": 0.13725
}

Semantic roles & 50–950 ramp

primary
#8F3CD2
secondary
#B1D594
accent
#E6428B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F3CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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