#8F4DD3#8F4DD3

#8F4DD3 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.4% C 0.199 H 303.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8F4DD3
RGBrgb(143, 77, 211)
HSLhsl(270, 60%, 56%)
HSVhsv(270, 64%, 83%)
CMYKcmyk(32.2%, 63.5%, 0%, 17.3%)
CIE-LABlab(46.78, 52.88, -58.70)
CIE-LCHlch(46.78, 79.01, 312.01°)
OKLaboklab(56.41% 0.109 -0.1665)
OKLCHoklch(56.41% 0.199 303.2)
XYZxyz(25.7367, 15.8506, 63.3190)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DD3 #91D34D
analogous
#4D4ED3 #8F4DD3 #D24DD3
triadic
#8F4DD3 #D38F4D #4DD38F
tetradic
#8F4DD3 #D34D4E #91D34D #4DD3D2
square
#8F4DD3 #D34D4E #91D34D #4DD3D2
split-complementary
#8F4DD3 #D3D24D #4ED34D
monochromatic
#522185 #702DB6 #8F4DD3 #AE7EDF #CDAFEB

Accessibility & contrast

On white

5.04
#8F4DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8F4DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DD3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DD3#FFFFFF#000000##FFFFFF
##8F4DD31.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#226FD0
Tritanopia (blue-blind)
#826A89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f4dd3;
/* rgb */ color: rgb(143, 77, 211);
/* oklch */ color: oklch(56.4% 0.199 303.2);
Tailwind
colors: {
  custom: {
    50: '#b482e1',
    500: '#8f4dd3',
    950: '#000000',
  },
}
SCSS
$custom: #8f4dd3;
$custom-light: #b482e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4dd3",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 269.552,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56411,
    "c": 0.19905,
    "h": 303.2
  },
  "luminance": 0.15851
}

Semantic roles & 50–950 ramp

primary
#8F4DD3
secondary
#BED9A2
accent
#E44495
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #8F4DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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