#8F48DC#8F48DC

#8F48DC is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.4% C 0.215 H 301.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8F48DC
RGBrgb(143, 72, 220)
HSLhsl(269, 68%, 57%)
HSVhsv(269, 67%, 86%)
CMYKcmyk(35%, 67.3%, 0%, 13.7%)
CIE-LABlab(46.50, 57.49, -64.29)
CIE-LCHlch(46.50, 86.25, 311.80°)
OKLaboklab(56.41% 0.1136 -0.1829)
OKLCHoklch(56.41% 0.215 301.8)
XYZxyz(26.5602, 15.6416, 69.3161)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F48DC #95DC48
analogous
#484BDC #8F48DC #D948DC
triadic
#8F48DC #DC8F48 #48DC8F
tetradic
#8F48DC #DC484B #95DC48 #48DCD9
square
#8F48DC #DC484B #95DC48 #48DCD9
split-complementary
#8F48DC #DCD948 #4BDC48
monochromatic
#521B8E #7025C2 #8F48DC #AE7BE6 #CEAFF0

Accessibility & contrast

On white

5.09
#8F48DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8F48DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F48DC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F48DC#FFFFFF#000000##FFFFFF
##8F48DC1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#7F6A8C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f48dc;
/* rgb */ color: rgb(143, 72, 220);
/* oklch */ color: oklch(56.4% 0.215 301.8);
Tailwind
colors: {
  custom: {
    50: '#b580e8',
    500: '#8f48dc',
    950: '#000000',
  },
}
SCSS
$custom: #8f48dc;
$custom-light: #b580e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f48dc",
  "rgb": {
    "r": 143,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 268.784,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56407,
    "c": 0.21533,
    "h": 301.8
  },
  "luminance": 0.15642
}

Semantic roles & 50–950 ramp

primary
#8F48DC
secondary
#C1DEA2
accent
#EB3D97
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F48DC

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

Preview Lab → · Contrast checker → · Palette generator →

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