#8F3DD3#8F3DD3

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

Color values

HEX#8F3DD3
RGBrgb(143, 61, 211)
HSLhsl(273, 63%, 53%)
HSVhsv(273, 71%, 83%)
CMYKcmyk(32.2%, 71.1%, 0%, 17.3%)
CIE-LABlab(44.06, 60.41, -63.10)
CIE-LCHlch(44.06, 87.35, 313.76°)
OKLaboklab(54.47% 0.126 -0.1794)
OKLCHoklch(54.47% 0.219 305.1)
XYZxyz(24.7517, 13.8804, 62.9906)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DD3 #81D33D
analogous
#443DD3 #8F3DD3 #D33DCC
triadic
#8F3DD3 #D38F3D #3DD38F
tetradic
#8F3DD3 #D3443D #81D33D #3DCCD3
square
#8F3DD3 #D3443D #81D33D #3DCCD3
split-complementary
#8F3DD3 #CCD33D #3DD344
monochromatic
#4F1C7A #7027AC #8F3DD3 #AC6FDE #C9A1EA

Accessibility & contrast

On white

5.56
#8F3DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8F3DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DD3
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DD3#FFFFFF#000000##FFFFFF
##8F3DD31.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#0068D0
Tritanopia (blue-blind)
#826084
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f3dd3;
/* rgb */ color: rgb(143, 61, 211);
/* oklch */ color: oklch(54.5% 0.219 305.1);
Tailwind
colors: {
  custom: {
    50: '#b579e1',
    500: '#8f3dd3',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dd3;
$custom-light: #b579e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dd3",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 211
  },
  "hsl": {
    "h": 272.8,
    "s": 63.025,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54465,
    "c": 0.21922,
    "h": 305.1
  },
  "luminance": 0.1388
}

Semantic roles & 50–950 ramp

primary
#8F3DD3
secondary
#B3D696
accent
#E6428C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F3DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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