#8F48DB#8F48DB

#8F48DB is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.214 H 302.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8F48DB
RGBrgb(143, 72, 219)
HSLhsl(269, 67%, 57%)
HSVhsv(269, 67%, 86%)
CMYKcmyk(34.7%, 67.1%, 0%, 14.1%)
CIE-LABlab(46.43, 57.25, -63.83)
CIE-LCHlch(46.43, 85.75, 311.89°)
OKLaboklab(56.33% 0.1137 -0.1816)
OKLCHoklch(56.33% 0.214 302)
XYZxyz(26.4282, 15.5888, 68.6207)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F48DB #94DB48
analogous
#484BDB #8F48DB #D948DB
triadic
#8F48DB #DB8F48 #48DB8F
tetradic
#8F48DB #DB484B #94DB48 #48DBD9
square
#8F48DB #DB484B #94DB48 #48DBD9
split-complementary
#8F48DB #DBD948 #4BDB48
monochromatic
#521C8D #7026C0 #8F48DB #AE7BE5 #CEAEEF

Accessibility & contrast

On white

5.10
#8F48DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8F48DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F48DB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F48DB#FFFFFF#000000##FFFFFF
##8F48DB1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f48db;
/* rgb */ color: rgb(143, 72, 219);
/* oklch */ color: oklch(56.3% 0.214 302.0);
Tailwind
colors: {
  custom: {
    50: '#b580e7',
    500: '#8f48db',
    950: '#000000',
  },
}
SCSS
$custom: #8f48db;
$custom-light: #b580e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f48db",
  "rgb": {
    "r": 143,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 268.98,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56334,
    "c": 0.21427,
    "h": 302
  },
  "luminance": 0.15589
}

Semantic roles & 50–950 ramp

primary
#8F48DB
secondary
#C0DDA2
accent
#EA3E97
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8F48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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