#8F48C8#8F48C8

#8F48C8 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 55.0% C 0.194 H 306.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8F48C8
RGBrgb(143, 72, 200)
HSLhsl(273, 54%, 53%)
HSVhsv(273, 64%, 78%)
CMYKcmyk(28.5%, 64%, 0%, 21.6%)
CIE-LABlab(45.14, 52.78, -55.00)
CIE-LCHlch(45.14, 76.23, 313.82°)
OKLaboklab(55% 0.1155 -0.1556)
OKLCHoklch(55% 0.194 306.6)
XYZxyz(24.0682, 14.6447, 56.1912)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F48C8 #81C848
analogous
#4F48C8 #8F48C8 #C848C1
triadic
#8F48C8 #C88F48 #48C88F
tetradic
#8F48C8 #C84F48 #81C848 #48C1C8
square
#8F48C8 #C84F48 #81C848 #48C1C8
split-complementary
#8F48C8 #C1C848 #48C84F
monochromatic
#4F2373 #7031A2 #8F48C8 #AC77D6 #C9A6E4

Accessibility & contrast

On white

5.34
#8F48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F48C8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F48C8#FFFFFF#000000##FFFFFF
##8F48C81.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#2C6BC5
Tritanopia (blue-blind)
#866382
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f48c8;
/* rgb */ color: rgb(143, 72, 200);
/* oklch */ color: oklch(55.0% 0.194 306.6);
Tailwind
colors: {
  custom: {
    50: '#b47fd9',
    500: '#8f48c8',
    950: '#000000',
  },
}
SCSS
$custom: #8f48c8;
$custom-light: #b47fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f48c8",
  "rgb": {
    "r": 143,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 273.281,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55001,
    "c": 0.19383,
    "h": 306.6
  },
  "luminance": 0.14645
}

Semantic roles & 50–950 ramp

primary
#8F48C8
secondary
#B3D19A
accent
#DD4B8C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8F48C8

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

Preview Lab → · Contrast checker → · Palette generator →

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