#8F4DC0#8F4DC0

#8F4DC0 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.1% C 0.178 H 308.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8F4DC0
RGBrgb(143, 77, 192)
HSLhsl(274, 48%, 53%)
HSVhsv(274, 60%, 75%)
CMYKcmyk(25.5%, 59.9%, 0%, 24.7%)
CIE-LABlab(45.57, 48.40, -49.68)
CIE-LCHlch(45.57, 69.36, 314.25°)
OKLaboklab(55.15% 0.1098 -0.1401)
OKLCHoklch(55.15% 0.178 308.1)
XYZxyz(23.4941, 14.9535, 51.5076)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DC0 #7EC04D
analogous
#554DC0 #8F4DC0 #C04DB7
triadic
#8F4DC0 #C08F4D #4DC08F
tetradic
#8F4DC0 #C0554D #7EC04D #4DB7C0
square
#8F4DC0 #C0554D #7EC04D #4DB7C0
split-complementary
#8F4DC0 #B7C04D #4DC055
monochromatic
#4E266C #6F3699 #8F4DC0 #AB7AD0 #C8A7E0

Accessibility & contrast

On white

5.26
#8F4DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8F4DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DC0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DC0#FFFFFF#000000##FFFFFF
##8F4DC01.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D69C4
Deuteranopia (green-blind)
#3C6DBD
Tritanopia (blue-blind)
#88637F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f4dc0;
/* rgb */ color: rgb(143, 77, 192);
/* oklch */ color: oklch(55.1% 0.178 308.1);
Tailwind
colors: {
  custom: {
    50: '#b382d4',
    500: '#8f4dc0',
    950: '#000000',
  },
}
SCSS
$custom: #8f4dc0;
$custom-light: #b382d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4dc0",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 274.435,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55149,
    "c": 0.17796,
    "h": 308.1
  },
  "luminance": 0.14953
}

Semantic roles & 50–950 ramp

primary
#8F4DC0
secondary
#B1CD9B
accent
#D7508A
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8F4DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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