#8F4BD2#8F4BD2

#8F4BD2 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.1% C 0.201 H 303.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8F4BD2
RGBrgb(143, 75, 210)
HSLhsl(270, 60%, 56%)
HSVhsv(270, 64%, 82%)
CMYKcmyk(31.9%, 64.3%, 0%, 17.6%)
CIE-LABlab(46.34, 53.64, -58.83)
CIE-LCHlch(46.34, 79.61, 312.36°)
OKLaboklab(56.08% 0.1114 -0.1669)
OKLCHoklch(56.08% 0.201 303.7)
XYZxyz(25.4740, 15.5250, 62.6149)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BD2 #8ED24B
analogous
#4B4BD2 #8F4BD2 #D24BD2
triadic
#8F4BD2 #D28F4B #4BD28F
tetradic
#8F4BD2 #D24B4B #8ED24B #4BD2D2
square
#8F4BD2 #D24B4B #8ED24B #4BD2D2
split-complementary
#8F4BD2 #D2D24B #4BD24B
monochromatic
#522182 #702DB3 #8F4BD2 #AD7CDE #CCADEA

Accessibility & contrast

On white

5.12
#8F4BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8F4BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BD2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BD2#FFFFFF#000000##FFFFFF
##8F4BD21.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#206ECF
Tritanopia (blue-blind)
#826888
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f4bd2;
/* rgb */ color: rgb(143, 75, 210);
/* oklch */ color: oklch(56.1% 0.201 303.7);
Tailwind
colors: {
  custom: {
    50: '#b481e1',
    500: '#8f4bd2',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bd2;
$custom-light: #b481e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bd2",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 270.222,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56078,
    "c": 0.20064,
    "h": 303.7
  },
  "luminance": 0.15525
}

Semantic roles & 50–950 ramp

primary
#8F4BD2
secondary
#BCD8A0
accent
#E34593
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #8F4BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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