#8F48D0#8F48D0

#8F48D0 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.6% C 0.202 H 304.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8F48D0
RGBrgb(143, 72, 208)
HSLhsl(271, 59%, 55%)
HSVhsv(271, 65%, 82%)
CMYKcmyk(31.3%, 65.4%, 0%, 18.4%)
CIE-LABlab(45.67, 54.64, -58.76)
CIE-LCHlch(45.67, 80.24, 312.92°)
OKLaboklab(55.55% 0.1149 -0.1667)
OKLCHoklch(55.55% 0.202 304.6)
XYZxyz(25.0277, 15.0286, 61.2446)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F48D0 #89D048
analogous
#4B48D0 #8F48D0 #D048CD
triadic
#8F48D0 #D08F48 #48D08F
tetradic
#8F48D0 #D04B48 #89D048 #48CDD0
square
#8F48D0 #D04B48 #89D048 #48CDD0
split-complementary
#8F48D0 #CDD048 #48D04B
monochromatic
#51207D #702DAE #8F48D0 #AD79DD #CBA9E9

Accessibility & contrast

On white

5.24
#8F48D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8F48D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F48D0
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F48D0#FFFFFF#000000##FFFFFF
##8F48D01.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#1E6CCD
Tritanopia (blue-blind)
#836686
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f48d0;
/* rgb */ color: rgb(143, 72, 208);
/* oklch */ color: oklch(55.6% 0.202 304.6);
Tailwind
colors: {
  custom: {
    50: '#b47fdf',
    500: '#8f48d0',
    950: '#000000',
  },
}
SCSS
$custom: #8f48d0;
$custom-light: #b47fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f48d0",
  "rgb": {
    "r": 143,
    "g": 72,
    "b": 208
  },
  "hsl": {
    "h": 271.324,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55551,
    "c": 0.20246,
    "h": 304.6
  },
  "luminance": 0.15028
}

Semantic roles & 50–950 ramp

primary
#8F48D0
secondary
#B9D79D
accent
#E24590
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F48D0

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

Preview Lab → · Contrast checker → · Palette generator →

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