#8F48C7#8F48C7

#8F48C7 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.9% C 0.193 H 306.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8F48C7
RGBrgb(143, 72, 199)
HSLhsl(274, 53%, 53%)
HSVhsv(274, 64%, 78%)
CMYKcmyk(28.1%, 63.8%, 0%, 22%)
CIE-LABlab(45.08, 52.55, -54.53)
CIE-LCHlch(45.08, 75.73, 313.94°)
OKLaboklab(54.93% 0.1156 -0.1543)
OKLCHoklch(54.93% 0.193 306.8)
XYZxyz(23.9517, 14.5982, 55.5777)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F48C7 #80C748
analogous
#4F48C7 #8F48C7 #C748C0
triadic
#8F48C7 #C78F48 #48C78F
tetradic
#8F48C7 #C74F48 #80C748 #48C0C7
square
#8F48C7 #C74F48 #80C748 #48C0C7
split-complementary
#8F48C7 #C0C748 #48C74F
monochromatic
#4F2372 #6F31A1 #8F48C7 #AC77D5 #C8A6E4

Accessibility & contrast

On white

5.36
#8F48C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8F48C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F48C7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F48C7#FFFFFF#000000##FFFFFF
##8F48C71.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#2D6BC4
Tritanopia (blue-blind)
#866281
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f48c7;
/* rgb */ color: rgb(143, 72, 199);
/* oklch */ color: oklch(54.9% 0.193 306.8);
Tailwind
colors: {
  custom: {
    50: '#b47fd9',
    500: '#8f48c7',
    950: '#000000',
  },
}
SCSS
$custom: #8f48c7;
$custom-light: #b47fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f48c7",
  "rgb": {
    "r": 143,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 273.543,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54934,
    "c": 0.19276,
    "h": 306.8
  },
  "luminance": 0.14598
}

Semantic roles & 50–950 ramp

primary
#8F48C7
secondary
#B2D19A
accent
#DD4B8B
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A15
muted
#807C83

Preview Lab

Preview with #8F48C7

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

Preview Lab → · Contrast checker → · Palette generator →

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