#8F48BC#8F48BC

#8F48BC is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.181 H 309.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8F48BC
RGBrgb(143, 72, 188)
HSLhsl(277, 46%, 51%)
HSVhsv(277, 62%, 74%)
CMYKcmyk(23.9%, 61.7%, 0%, 26.3%)
CIE-LABlab(44.38, 50.03, -49.25)
CIE-LCHlch(44.38, 70.21, 315.45°)
OKLaboklab(54.21% 0.116 -0.1388)
OKLCHoklch(54.21% 0.181 309.9)
XYZxyz(22.7204, 14.1056, 49.0930)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F48BC #75BC48
analogous
#5548BC #8F48BC #BC48AF
triadic
#8F48BC #BC8F48 #48BC8F
tetradic
#8F48BC #BC5548 #75BC48 #48AFBC
square
#8F48BC #BC5548 #75BC48 #48AFBC
split-complementary
#8F48BC #AFBC48 #48BC55
monochromatic
#4C2565 #6E3592 #8F48BC #AA75CC #C6A2DD

Accessibility & contrast

On white

5.50
#8F48BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8F48BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F48BC
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F48BC#FFFFFF#000000##FFFFFF
##8F48BC1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1466C0
Deuteranopia (green-blind)
#3A6AB9
Tritanopia (blue-blind)
#895E7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f48bc;
/* rgb */ color: rgb(143, 72, 188);
/* oklch */ color: oklch(54.2% 0.181 309.9);
Tailwind
colors: {
  custom: {
    50: '#b37fd1',
    500: '#8f48bc',
    950: '#000000',
  },
}
SCSS
$custom: #8f48bc;
$custom-light: #b37fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f48bc",
  "rgb": {
    "r": 143,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 276.724,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54208,
    "c": 0.1809,
    "h": 309.9
  },
  "luminance": 0.14105
}

Semantic roles & 50–950 ramp

primary
#8F48BC
secondary
#AACA96
accent
#D65285
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8F48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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