#8948DD#8948DD

#8948DD is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.8% C 0.215 H 299.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8948DD
RGBrgb(137, 72, 221)
HSLhsl(266, 69%, 57%)
HSVhsv(266, 67%, 87%)
CMYKcmyk(38%, 67.4%, 0%, 13.3%)
CIE-LABlab(45.87, 56.56, -65.91)
CIE-LCHlch(45.87, 86.86, 310.63°)
OKLaboklab(55.82% 0.1054 -0.1879)
OKLCHoklch(55.82% 0.215 299.3)
XYZxyz(25.6818, 15.1733, 69.9683)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8948DD #9CDD48
analogous
#4852DD #8948DD #D348DD
triadic
#8948DD #DD8948 #48DD89
tetradic
#8948DD #DD4852 #9CDD48 #48DDD3
square
#8948DD #DD4852 #9CDD48 #48DDD3
split-complementary
#8948DD #DDD348 #52DD48
monochromatic
#4E1B90 #6A24C3 #8948DD #AA7CE7 #CCAFF0

Accessibility & contrast

On white

5.20
#8948DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8948DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8948DD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8948DD#FFFFFF#000000##FFFFFF
##8948DD1.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#006BDA
Tritanopia (blue-blind)
#766B8D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8948dd;
/* rgb */ color: rgb(137, 72, 221);
/* oklch */ color: oklch(55.8% 0.215 299.3);
Tailwind
colors: {
  custom: {
    50: '#b17fe8',
    500: '#8948dd',
    950: '#000000',
  },
}
SCSS
$custom: #8948dd;
$custom-light: #b17fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#8948dd",
  "rgb": {
    "r": 137,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 266.174,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55823,
    "c": 0.21544,
    "h": 299.3
  },
  "luminance": 0.15174
}

Semantic roles & 50–950 ramp

primary
#8948DD
secondary
#C4DEA2
accent
#EC3C9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8948DD

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

Preview Lab → · Contrast checker → · Palette generator →

#8948DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva