#8F4CBC#8F4CBC

#8F4CBC is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.8% C 0.175 H 309.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8F4CBC
RGBrgb(143, 76, 188)
HSLhsl(276, 46%, 52%)
HSVhsv(276, 60%, 74%)
CMYKcmyk(23.9%, 59.6%, 0%, 26.3%)
CIE-LABlab(45.14, 48.00, -48.05)
CIE-LCHlch(45.14, 67.91, 314.97°)
OKLaboklab(54.76% 0.111 -0.1353)
OKLCHoklch(54.76% 0.175 309.4)
XYZxyz(22.9875, 14.6398, 49.1820)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CBC #79BC4C
analogous
#574CBC #8F4CBC #BC4CB1
triadic
#8F4CBC #BC8F4C #4CBC8F
tetradic
#8F4CBC #BC574C #79BC4C #4CB1BC
square
#8F4CBC #BC574C #79BC4C #4CB1BC
split-complementary
#8F4CBC #B1BC4C #4CBC57
monochromatic
#4D2767 #6E3794 #8F4CBC #AB79CD #C7A5DD

Accessibility & contrast

On white

5.35
#8F4CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8F4CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CBC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CBC#FFFFFF#000000##FFFFFF
##8F4CBC1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168C0
Deuteranopia (green-blind)
#3E6CB9
Tritanopia (blue-blind)
#89617D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f4cbc;
/* rgb */ color: rgb(143, 76, 188);
/* oklch */ color: oklch(54.8% 0.175 309.4);
Tailwind
colors: {
  custom: {
    50: '#b381d1',
    500: '#8f4cbc',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cbc;
$custom-light: #b381d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cbc",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 275.893,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54756,
    "c": 0.17501,
    "h": 309.4
  },
  "luminance": 0.14639
}

Semantic roles & 50–950 ramp

primary
#8F4CBC
secondary
#ADCA99
accent
#D55387
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8F4CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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