#8F4BCD#8F4BCD

#8F4BCD is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.7% C 0.195 H 304.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8F4BCD
RGBrgb(143, 75, 205)
HSLhsl(271, 57%, 55%)
HSVhsv(271, 63%, 80%)
CMYKcmyk(30.2%, 63.4%, 0%, 19.6%)
CIE-LABlab(46.01, 52.46, -56.48)
CIE-LCHlch(46.01, 77.09, 312.88°)
OKLaboklab(55.73% 0.1117 -0.16)
OKLCHoklch(55.73% 0.195 304.9)
XYZxyz(24.8608, 15.2797, 59.3853)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BCD #89CD4B
analogous
#4E4BCD #8F4BCD #CD4BCA
triadic
#8F4BCD #CD8F4B #4BCD8F
tetradic
#8F4BCD #CD4E4B #89CD4B #4BCACD
square
#8F4BCD #CD4E4B #89CD4B #4BCACD
split-complementary
#8F4BCD #CACD4B #4BCD4E
monochromatic
#51227B #7030AB #8F4BCD #AD7BDA #CBABE8

Accessibility & contrast

On white

5.18
#8F4BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8F4BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BCD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BCD#FFFFFF#000000##FFFFFF
##8F4BCD1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#296DCA
Tritanopia (blue-blind)
#846685
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f4bcd;
/* rgb */ color: rgb(143, 75, 205);
/* oklch */ color: oklch(55.7% 0.195 304.9);
Tailwind
colors: {
  custom: {
    50: '#b481dd',
    500: '#8f4bcd',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bcd;
$custom-light: #b481dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bcd",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 271.385,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55734,
    "c": 0.19516,
    "h": 304.9
  },
  "luminance": 0.1528
}

Semantic roles & 50–950 ramp

primary
#8F4BCD
secondary
#B9D59F
accent
#E04890
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F4BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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