#8F4DD6#8F4DD6

#8F4DD6 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.6% C 0.202 H 302.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8F4DD6
RGBrgb(143, 77, 214)
HSLhsl(269, 63%, 57%)
HSVhsv(269, 64%, 84%)
CMYKcmyk(33.2%, 64%, 0%, 16.1%)
CIE-LABlab(46.98, 53.60, -60.09)
CIE-LCHlch(46.98, 80.53, 311.73°)
OKLaboklab(56.62% 0.1088 -0.1706)
OKLCHoklch(56.62% 0.202 302.5)
XYZxyz(26.1163, 16.0024, 65.3182)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DD6 #94D64D
analogous
#4D50D6 #8F4DD6 #D34DD6
triadic
#8F4DD6 #D68F4D #4DD68F
tetradic
#8F4DD6 #D64D50 #94D64D #4DD6D3
square
#8F4DD6 #D64D50 #94D64D #4DD6D3
split-complementary
#8F4DD6 #D6D34D #50D64D
monochromatic
#522089 #702BBB #8F4DD6 #AE7FE1 #CEB0ED

Accessibility & contrast

On white

5.00
#8F4DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8F4DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DD6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DD6#FFFFFF#000000##FFFFFF
##8F4DD61.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#1C6FD3
Tritanopia (blue-blind)
#816B8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f4dd6;
/* rgb */ color: rgb(143, 77, 214);
/* oklch */ color: oklch(56.6% 0.202 302.5);
Tailwind
colors: {
  custom: {
    50: '#b583e3',
    500: '#8f4dd6',
    950: '#000000',
  },
}
SCSS
$custom: #8f4dd6;
$custom-light: #b583e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4dd6",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 268.905,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56619,
    "c": 0.20236,
    "h": 302.5
  },
  "luminance": 0.16002
}

Semantic roles & 50–950 ramp

primary
#8F4DD6
secondary
#C0DBA4
accent
#E64297
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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