#8F45D1#8F45D1

#8F45D1 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.207 H 304.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8F45D1
RGBrgb(143, 69, 209)
HSLhsl(272, 60%, 55%)
HSVhsv(272, 67%, 82%)
CMYKcmyk(31.6%, 67%, 0%, 18%)
CIE-LABlab(45.22, 56.32, -60.07)
CIE-LCHlch(45.22, 82.34, 313.15°)
OKLaboklab(55.25% 0.1181 -0.1705)
OKLCHoklch(55.25% 0.207 304.7)
XYZxyz(24.9619, 14.6995, 61.8315)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F45D1 #87D145
analogous
#4945D1 #8F45D1 #D145CD
triadic
#8F45D1 #D18F45 #45D18F
tetradic
#8F45D1 #D14945 #87D145 #45CDD1
square
#8F45D1 #D14945 #87D145 #45CDD1
split-complementary
#8F45D1 #CDD145 #45D149
monochromatic
#501F7D #702BAE #8F45D1 #AD76DD #CAA7E9

Accessibility & contrast

On white

5.33
#8F45D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8F45D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F45D1
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F45D1#FFFFFF#000000##FFFFFF
##8F45D11.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#146BCE
Tritanopia (blue-blind)
#836485
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f45d1;
/* rgb */ color: rgb(143, 69, 209);
/* oklch */ color: oklch(55.2% 0.207 304.7);
Tailwind
colors: {
  custom: {
    50: '#b57ee0',
    500: '#8f45d1',
    950: '#000000',
  },
}
SCSS
$custom: #8f45d1;
$custom-light: #b57ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f45d1",
  "rgb": {
    "r": 143,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 271.714,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55247,
    "c": 0.20742,
    "h": 304.7
  },
  "luminance": 0.14699
}

Semantic roles & 50–950 ramp

primary
#8F45D1
secondary
#B7D79B
accent
#E3448F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F45D1

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

Preview Lab → · Contrast checker → · Palette generator →

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