#8F48D9#8F48D9

#8F48D9 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.212 H 302.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8F48D9
RGBrgb(143, 72, 217)
HSLhsl(269, 66%, 57%)
HSVhsv(269, 67%, 85%)
CMYKcmyk(34.1%, 66.8%, 0%, 14.9%)
CIE-LABlab(46.29, 56.77, -62.92)
CIE-LCHlch(46.29, 84.75, 312.06°)
OKLaboklab(56.19% 0.1139 -0.1789)
OKLCHoklch(56.19% 0.212 302.5)
XYZxyz(26.1665, 15.4841, 67.2424)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F48D9 #92D948
analogous
#484AD9 #8F48D9 #D748D9
triadic
#8F48D9 #D98F48 #48D98F
tetradic
#8F48D9 #D9484A #92D948 #48D9D7
square
#8F48D9 #D9484A #92D948 #48D9D7
split-complementary
#8F48D9 #D9D748 #4AD948
monochromatic
#521D8A #7027BD #8F48D9 #AE7BE4 #CDADEE

Accessibility & contrast

On white

5.13
#8F48D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8F48D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F48D9
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F48D9#FFFFFF#000000##FFFFFF
##8F48D91.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#006DD6
Tritanopia (blue-blind)
#80698B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f48d9;
/* rgb */ color: rgb(143, 72, 217);
/* oklch */ color: oklch(56.2% 0.212 302.5);
Tailwind
colors: {
  custom: {
    50: '#b580e6',
    500: '#8f48d9',
    950: '#000000',
  },
}
SCSS
$custom: #8f48d9;
$custom-light: #b580e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f48d9",
  "rgb": {
    "r": 143,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 269.379,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5619,
    "c": 0.21212,
    "h": 302.5
  },
  "luminance": 0.15484
}

Semantic roles & 50–950 ramp

primary
#8F48D9
secondary
#BFDCA1
accent
#E93F96
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F48D9

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

Preview Lab → · Contrast checker → · Palette generator →

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