#8F4CD3#8F4CD3

#8F4CD3 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.200 H 303.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8F4CD3
RGBrgb(143, 76, 211)
HSLhsl(270, 61%, 56%)
HSVhsv(270, 64%, 83%)
CMYKcmyk(32.2%, 64%, 0%, 17.3%)
CIE-LABlab(46.59, 53.38, -59.00)
CIE-LCHlch(46.59, 79.56, 312.14°)
OKLaboklab(56.28% 0.1102 -0.1674)
OKLCHoklch(56.28% 0.2 303.3)
XYZxyz(25.6673, 15.7117, 63.2958)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CD3 #90D34C
analogous
#4C4DD3 #8F4CD3 #D34CD3
triadic
#8F4CD3 #D38F4C #4CD38F
tetradic
#8F4CD3 #D34C4D #90D34C #4CD3D3
square
#8F4CD3 #D34C4D #90D34C #4CD3D3
split-complementary
#8F4CD3 #D3D34C #4DD34C
monochromatic
#522084 #702DB5 #8F4CD3 #AE7DDF #CCAEEB

Accessibility & contrast

On white

5.07
#8F4CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8F4CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CD3
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CD3#FFFFFF#000000##FFFFFF
##8F4CD31.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#206ED0
Tritanopia (blue-blind)
#826989
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f4cd3;
/* rgb */ color: rgb(143, 76, 211);
/* oklch */ color: oklch(56.3% 0.200 303.3);
Tailwind
colors: {
  custom: {
    50: '#b482e1',
    500: '#8f4cd3',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cd3;
$custom-light: #b482e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cd3",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 269.778,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56279,
    "c": 0.20039,
    "h": 303.3
  },
  "luminance": 0.15712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F4CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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