#8F4DD2#8F4DD2

#8F4DD2 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.3% C 0.198 H 303.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8F4DD2
RGBrgb(143, 77, 210)
HSLhsl(270, 60%, 56%)
HSVhsv(270, 63%, 82%)
CMYKcmyk(31.9%, 63.3%, 0%, 17.6%)
CIE-LABlab(46.71, 52.64, -58.23)
CIE-LCHlch(46.71, 78.50, 312.11°)
OKLaboklab(56.34% 0.1091 -0.1652)
OKLCHoklch(56.34% 0.198 303.4)
XYZxyz(25.6118, 15.8006, 62.6608)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DD2 #90D24D
analogous
#4D4ED2 #8F4DD2 #D14DD2
triadic
#8F4DD2 #D28F4D #4DD28F
tetradic
#8F4DD2 #D24D4E #90D24D #4DD2D1
square
#8F4DD2 #D24D4E #90D24D #4DD2D1
split-complementary
#8F4DD2 #D2D14D #4ED24D
monochromatic
#522183 #702EB4 #8F4DD2 #AE7EDE #CCAFEB

Accessibility & contrast

On white

5.05
#8F4DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8F4DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DD2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DD2#FFFFFF#000000##FFFFFF
##8F4DD21.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#246ECF
Tritanopia (blue-blind)
#826989
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f4dd2;
/* rgb */ color: rgb(143, 77, 210);
/* oklch */ color: oklch(56.3% 0.198 303.4);
Tailwind
colors: {
  custom: {
    50: '#b482e1',
    500: '#8f4dd2',
    950: '#000000',
  },
}
SCSS
$custom: #8f4dd2;
$custom-light: #b482e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4dd2",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 269.774,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56343,
    "c": 0.19794,
    "h": 303.4
  },
  "luminance": 0.15801
}

Semantic roles & 50–950 ramp

primary
#8F4DD2
secondary
#BED9A2
accent
#E34594
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #8F4DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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