#8848DD#8848DD

#8848DD is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.7% C 0.215 H 298.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8848DD
RGBrgb(136, 72, 221)
HSLhsl(266, 69%, 57%)
HSVhsv(266, 67%, 87%)
CMYKcmyk(38.5%, 67.4%, 0%, 13.3%)
CIE-LABlab(45.76, 56.37, -66.11)
CIE-LCHlch(45.76, 86.88, 310.45°)
OKLaboklab(55.72% 0.104 -0.1885)
OKLCHoklch(55.72% 0.215 298.9)
XYZxyz(25.5186, 15.0891, 69.9606)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8848DD #9DDD48
analogous
#4852DD #8848DD #D348DD
triadic
#8848DD #DD8848 #48DD88
tetradic
#8848DD #DD4852 #9DDD48 #48DDD3
square
#8848DD #DD4852 #9DDD48 #48DDD3
split-complementary
#8848DD #DDD348 #52DD48
monochromatic
#4D1B90 #6924C3 #8848DD #AA7CE7 #CBAFF0

Accessibility & contrast

On white

5.23
#8848DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8848DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8848DD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8848DD#FFFFFF#000000##FFFFFF
##8848DD1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8848dd;
/* rgb */ color: rgb(136, 72, 221);
/* oklch */ color: oklch(55.7% 0.215 298.9);
Tailwind
colors: {
  custom: {
    50: '#b17fe8',
    500: '#8848dd',
    950: '#000000',
  },
}
SCSS
$custom: #8848dd;
$custom-light: #b17fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#8848dd",
  "rgb": {
    "r": 136,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 265.772,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.55715,
    "c": 0.2153,
    "h": 298.9
  },
  "luminance": 0.15089
}

Semantic roles & 50–950 ramp

primary
#8848DD
secondary
#C5DEA2
accent
#EC3CA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8848DD

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

Preview Lab → · Contrast checker → · Palette generator →

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