#8F48CE#8F48CE

#8F48CE is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.4% C 0.200 H 305.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8F48CE
RGBrgb(143, 72, 206)
HSLhsl(272, 58%, 55%)
HSVhsv(272, 65%, 81%)
CMYKcmyk(30.6%, 65%, 0%, 19.2%)
CIE-LABlab(45.54, 54.17, -57.83)
CIE-LCHlch(45.54, 79.24, 313.13°)
OKLaboklab(55.41% 0.1151 -0.164)
OKLCHoklch(55.41% 0.2 305.1)
XYZxyz(24.7832, 14.9308, 59.9569)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F48CE #87CE48
analogous
#4C48CE #8F48CE #CE48CA
triadic
#8F48CE #CE8F48 #48CE8F
tetradic
#8F48CE #CE4C48 #87CE48 #48CACE
square
#8F48CE #CE4C48 #87CE48 #48CACE
split-complementary
#8F48CE #CACE48 #48CE4C
monochromatic
#50217B #702EAB #8F48CE #AD78DB #CAA9E8

Accessibility & contrast

On white

5.27
#8F48CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8F48CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F48CE
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F48CE#FFFFFF#000000##FFFFFF
##8F48CE1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#226CCB
Tritanopia (blue-blind)
#846585
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f48ce;
/* rgb */ color: rgb(143, 72, 206);
/* oklch */ color: oklch(55.4% 0.200 305.1);
Tailwind
colors: {
  custom: {
    50: '#b47fde',
    500: '#8f48ce',
    950: '#000000',
  },
}
SCSS
$custom: #8f48ce;
$custom-light: #b47fde;
$custom-dark: #000000;
JSON
{
  "hex": "#8f48ce",
  "rgb": {
    "r": 143,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 271.791,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55412,
    "c": 0.2003,
    "h": 305.1
  },
  "luminance": 0.14931
}

Semantic roles & 50–950 ramp

primary
#8F48CE
secondary
#B7D59D
accent
#E1478F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F48CE

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

Preview Lab → · Contrast checker → · Palette generator →

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