#8F48CC#8F48CC

#8F48CC is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.3% C 0.198 H 305.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8F48CC
RGBrgb(143, 72, 204)
HSLhsl(272, 56%, 54%)
HSVhsv(272, 65%, 80%)
CMYKcmyk(29.9%, 64.7%, 0%, 20%)
CIE-LABlab(45.41, 53.71, -56.89)
CIE-LCHlch(45.41, 78.24, 313.35°)
OKLaboklab(55.27% 0.1152 -0.1612)
OKLCHoklch(55.27% 0.198 305.6)
XYZxyz(24.5418, 14.8342, 58.6854)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F48CC #85CC48
analogous
#4D48CC #8F48CC #CC48C7
triadic
#8F48CC #CC8F48 #48CC8F
tetradic
#8F48CC #CC4D48 #85CC48 #48C7CC
square
#8F48CC #CC4D48 #85CC48 #48C7CC
split-complementary
#8F48CC #C7CC48 #48CC4D
monochromatic
#502178 #702FA8 #8F48CC #AC78D9 #CAA8E7

Accessibility & contrast

On white

5.29
#8F48CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8F48CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F48CC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F48CC#FFFFFF#000000##FFFFFF
##8F48CC1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#266CC9
Tritanopia (blue-blind)
#846484
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f48cc;
/* rgb */ color: rgb(143, 72, 204);
/* oklch */ color: oklch(55.3% 0.198 305.6);
Tailwind
colors: {
  custom: {
    50: '#b47fdc',
    500: '#8f48cc',
    950: '#000000',
  },
}
SCSS
$custom: #8f48cc;
$custom-light: #b47fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f48cc",
  "rgb": {
    "r": 143,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 272.273,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55274,
    "c": 0.19815,
    "h": 305.6
  },
  "luminance": 0.14834
}

Semantic roles & 50–950 ramp

primary
#8F48CC
secondary
#B6D49C
accent
#E0488E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F48CC

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

Preview Lab → · Contrast checker → · Palette generator →

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