#8F3DD4#8F3DD4

#8F3DD4 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.5% C 0.220 H 304.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8F3DD4
RGBrgb(143, 61, 212)
HSLhsl(273, 64%, 54%)
HSVhsv(273, 71%, 83%)
CMYKcmyk(32.5%, 71.2%, 0%, 16.9%)
CIE-LABlab(44.13, 60.64, -63.55)
CIE-LCHlch(44.13, 87.84, 313.66°)
OKLaboklab(54.54% 0.1258 -0.1807)
OKLCHoklch(54.54% 0.22 304.9)
XYZxyz(24.8774, 13.9307, 63.6529)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DD4 #82D43D
analogous
#433DD4 #8F3DD4 #D43DCD
triadic
#8F3DD4 #D48F3D #3DD48F
tetradic
#8F3DD4 #D4433D #82D43D #3DCDD4
square
#8F3DD4 #D4433D #82D43D #3DCDD4
split-complementary
#8F3DD4 #CDD43D #3DD443
monochromatic
#4F1B7B #7026AD #8F3DD4 #AC6FDF #C9A1EA

Accessibility & contrast

On white

5.55
#8F3DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#8F3DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DD4
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DD4#FFFFFF#000000##FFFFFF
##8F3DD41.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#0068D1
Tritanopia (blue-blind)
#826185
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f3dd4;
/* rgb */ color: rgb(143, 61, 212);
/* oklch */ color: oklch(54.5% 0.220 304.9);
Tailwind
colors: {
  custom: {
    50: '#b579e2',
    500: '#8f3dd4',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dd4;
$custom-light: #b579e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dd4",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 212
  },
  "hsl": {
    "h": 272.583,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54539,
    "c": 0.22022,
    "h": 304.9
  },
  "luminance": 0.13931
}

Semantic roles & 50–950 ramp

primary
#8F3DD4
secondary
#B4D796
accent
#E7418D
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #8F3DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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