#8F4DDC#8F4DDC

#8F4DDC is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.0% C 0.209 H 301.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8F4DDC
RGBrgb(143, 77, 220)
HSLhsl(268, 67%, 58%)
HSVhsv(268, 65%, 86%)
CMYKcmyk(35%, 65%, 0%, 13.7%)
CIE-LABlab(47.38, 55.05, -62.86)
CIE-LCHlch(47.38, 83.56, 311.21°)
OKLaboklab(57.04% 0.1083 -0.1788)
OKLCHoklch(57.04% 0.209 301.2)
XYZxyz(26.8967, 16.3146, 69.4283)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DDC #9ADC4D
analogous
#4D52DC #8F4DDC #D64DDC
triadic
#8F4DDC #DC8F4D #4DDC8F
tetradic
#8F4DDC #DC4D52 #9ADC4D #4DDCD6
square
#8F4DDC #DC4D52 #9ADC4D #4DDCD6
split-complementary
#8F4DDC #DCD64D #52DC4D
monochromatic
#531D92 #7027C5 #8F4DDC #AF80E6 #CFB3F0

Accessibility & contrast

On white

4.93
#8F4DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8F4DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DDC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DDC#FFFFFF#000000##FFFFFF
##8F4DDC1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#0570D9
Tritanopia (blue-blind)
#7F6D8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f4ddc;
/* rgb */ color: rgb(143, 77, 220);
/* oklch */ color: oklch(57.0% 0.209 301.2);
Tailwind
colors: {
  custom: {
    50: '#b583e8',
    500: '#8f4ddc',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ddc;
$custom-light: #b583e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ddc",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 267.692,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57041,
    "c": 0.20898,
    "h": 301.2
  },
  "luminance": 0.16315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F4DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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