#8F4DD5#8F4DD5

#8F4DD5 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.5% C 0.201 H 302.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8F4DD5
RGBrgb(143, 77, 213)
HSLhsl(269, 62%, 57%)
HSVhsv(269, 64%, 84%)
CMYKcmyk(32.9%, 63.8%, 0%, 16.5%)
CIE-LABlab(46.91, 53.36, -59.63)
CIE-LCHlch(46.91, 80.02, 311.82°)
OKLaboklab(56.55% 0.1089 -0.1693)
OKLCHoklch(56.55% 0.201 302.7)
XYZxyz(25.9890, 15.9515, 64.6477)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DD5 #93D54D
analogous
#4D4FD5 #8F4DD5 #D34DD5
triadic
#8F4DD5 #D58F4D #4DD58F
tetradic
#8F4DD5 #D54D4F #93D54D #4DD5D3
square
#8F4DD5 #D54D4F #93D54D #4DD5D3
split-complementary
#8F4DD5 #D5D34D #4FD54D
monochromatic
#522088 #702CB9 #8F4DD5 #AE7FE1 #CDB0EC

Accessibility & contrast

On white

5.01
#8F4DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8F4DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DD5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DD5#FFFFFF#000000##FFFFFF
##8F4DD51.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#1E6FD2
Tritanopia (blue-blind)
#816B8A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f4dd5;
/* rgb */ color: rgb(143, 77, 213);
/* oklch */ color: oklch(56.5% 0.201 302.7);
Tailwind
colors: {
  custom: {
    50: '#b483e3',
    500: '#8f4dd5',
    950: '#000000',
  },
}
SCSS
$custom: #8f4dd5;
$custom-light: #b483e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4dd5",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 213
  },
  "hsl": {
    "h": 269.118,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5655,
    "c": 0.20126,
    "h": 302.7
  },
  "luminance": 0.15951
}

Semantic roles & 50–950 ramp

primary
#8F4DD5
secondary
#C0DBA3
accent
#E54396
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #8F4DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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