#8F4CBD#8F4CBD

#8F4CBD is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.8% C 0.176 H 309.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8F4CBD
RGBrgb(143, 76, 189)
HSLhsl(276, 46%, 52%)
HSVhsv(276, 60%, 74%)
CMYKcmyk(24.3%, 59.8%, 0%, 25.9%)
CIE-LABlab(45.20, 48.23, -48.53)
CIE-LCHlch(45.20, 68.42, 314.82°)
OKLaboklab(54.82% 0.111 -0.1367)
OKLCHoklch(54.82% 0.176 309.1)
XYZxyz(23.0956, 14.6830, 49.7517)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CBD #7ABD4C
analogous
#574CBD #8F4CBD #BD4CB3
triadic
#8F4CBD #BD8F4C #4CBD8F
tetradic
#8F4CBD #BD574C #7ABD4C #4CB3BD
square
#8F4CBD #BD574C #7ABD4C #4CB3BD
split-complementary
#8F4CBD #B3BD4C #4CBD57
monochromatic
#4D2668 #6F3795 #8F4CBD #AB79CD #C7A5DE

Accessibility & contrast

On white

5.33
#8F4CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8F4CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CBD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CBD#FFFFFF#000000##FFFFFF
##8F4CBD1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F68C1
Deuteranopia (green-blind)
#3D6CBA
Tritanopia (blue-blind)
#89627D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f4cbd;
/* rgb */ color: rgb(143, 76, 189);
/* oklch */ color: oklch(54.8% 0.176 309.1);
Tailwind
colors: {
  custom: {
    50: '#b381d1',
    500: '#8f4cbd',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cbd;
$custom-light: #b381d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cbd",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 275.575,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54819,
    "c": 0.17611,
    "h": 309.1
  },
  "luminance": 0.14683
}

Semantic roles & 50–950 ramp

primary
#8F4CBD
secondary
#AECB9A
accent
#D65288
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8F4CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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