#8F4DC9#8F4DC9

#8F4DC9 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.7% C 0.188 H 305.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8F4DC9
RGBrgb(143, 77, 201)
HSLhsl(272, 53%, 55%)
HSVhsv(272, 62%, 79%)
CMYKcmyk(28.9%, 61.7%, 0%, 21.2%)
CIE-LABlab(46.13, 50.50, -53.99)
CIE-LCHlch(46.13, 73.93, 313.09°)
OKLaboklab(55.74% 0.1096 -0.1527)
OKLCHoklch(55.74% 0.188 305.7)
XYZxyz(24.5219, 15.3646, 56.9208)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DC9 #87C94D
analogous
#514DC9 #8F4DC9 #C94DC5
triadic
#8F4DC9 #C98F4D #4DC98F
tetradic
#8F4DC9 #C9514D #87C94D #4DC5C9
square
#8F4DC9 #C9514D #87C94D #4DC5C9
split-complementary
#8F4DC9 #C5C94D #4DC951
monochromatic
#502477 #7032A6 #8F4DC9 #AD7CD7 #CAABE5

Accessibility & contrast

On white

5.16
#8F4DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8F4DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DC9
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DC9#FFFFFF#000000##FFFFFF
##8F4DC91.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016BCD
Deuteranopia (green-blind)
#326EC6
Tritanopia (blue-blind)
#856684
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f4dc9;
/* rgb */ color: rgb(143, 77, 201);
/* oklch */ color: oklch(55.7% 0.188 305.7);
Tailwind
colors: {
  custom: {
    50: '#b482da',
    500: '#8f4dc9',
    950: '#000000',
  },
}
SCSS
$custom: #8f4dc9;
$custom-light: #b482da;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4dc9",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 201
  },
  "hsl": {
    "h": 271.935,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55735,
    "c": 0.18795,
    "h": 305.7
  },
  "luminance": 0.15364
}

Semantic roles & 50–950 ramp

primary
#8F4DC9
secondary
#B7D39F
accent
#DD4B8F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F4DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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