#8F4DDD#8F4DDD

#8F4DDD is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.210 H 301.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8F4DDD
RGBrgb(143, 77, 221)
HSLhsl(268, 68%, 58%)
HSVhsv(268, 65%, 87%)
CMYKcmyk(35.3%, 65.2%, 0%, 13.3%)
CIE-LABlab(47.45, 55.30, -63.32)
CIE-LCHlch(47.45, 84.07, 311.13°)
OKLaboklab(57.11% 0.1082 -0.1801)
OKLCHoklch(57.11% 0.21 301)
XYZxyz(27.0296, 16.3677, 70.1279)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DDD #9BDD4D
analogous
#4D53DD #8F4DDD #D74DDD
triadic
#8F4DDD #DD8F4D #4DDD8F
tetradic
#8F4DDD #DD4D53 #9BDD4D #4DDDD7
square
#8F4DDD #DD4D53 #9BDD4D #4DDDD7
split-complementary
#8F4DDD #DDD74D #53DD4D
monochromatic
#531C93 #7026C7 #8F4DDD #AF80E7 #D0B4F1

Accessibility & contrast

On white

4.91
#8F4DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8F4DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DDD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DDD#FFFFFF#000000##FFFFFF
##8F4DDD1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#0070DA
Tritanopia (blue-blind)
#7E6D8E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f4ddd;
/* rgb */ color: rgb(143, 77, 221);
/* oklch */ color: oklch(57.1% 0.210 301.0);
Tailwind
colors: {
  custom: {
    50: '#b583e8',
    500: '#8f4ddd',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ddd;
$custom-light: #b583e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ddd",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 267.5,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57113,
    "c": 0.21009,
    "h": 301
  },
  "luminance": 0.16368
}

Semantic roles & 50–950 ramp

primary
#8F4DDD
secondary
#C5DFA6
accent
#EB3D9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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