#8F4CBE#8F4CBE

#8F4CBE is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.9% C 0.177 H 308.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8F4CBE
RGBrgb(143, 76, 190)
HSLhsl(275, 47%, 52%)
HSVhsv(275, 60%, 75%)
CMYKcmyk(24.7%, 60%, 0%, 25.5%)
CIE-LABlab(45.26, 48.46, -49.02)
CIE-LCHlch(45.26, 68.93, 314.67°)
OKLaboklab(54.88% 0.111 -0.1381)
OKLCHoklch(54.88% 0.177 308.8)
XYZxyz(23.2046, 14.7266, 50.3253)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CBE #7BBE4C
analogous
#564CBE #8F4CBE #BE4CB4
triadic
#8F4CBE #BE8F4C #4CBE8F
tetradic
#8F4CBE #BE564C #7BBE4C #4CB4BE
square
#8F4CBE #BE564C #7BBE4C #4CB4BE
split-complementary
#8F4CBE #B4BE4C #4CBE56
monochromatic
#4E2669 #6F3796 #8F4CBE #AB79CE #C7A6DF

Accessibility & contrast

On white

5.32
#8F4CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8F4CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CBE
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CBE#FFFFFF#000000##FFFFFF
##8F4CBE1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C2
Deuteranopia (green-blind)
#3C6CBB
Tritanopia (blue-blind)
#88627E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f4cbe;
/* rgb */ color: rgb(143, 76, 190);
/* oklch */ color: oklch(54.9% 0.177 308.8);
Tailwind
colors: {
  custom: {
    50: '#b381d2',
    500: '#8f4cbe',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cbe;
$custom-light: #b381d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cbe",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 275.263,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.54882,
    "c": 0.17721,
    "h": 308.8
  },
  "luminance": 0.14726
}

Semantic roles & 50–950 ramp

primary
#8F4CBE
secondary
#AFCC9A
accent
#D65188
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8F4CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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