#9848DD#9848DD

#9848DD is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.5% C 0.218 H 305.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9848DD
RGBrgb(152, 72, 221)
HSLhsl(272, 69%, 57%)
HSVhsv(272, 67%, 87%)
CMYKcmyk(31.2%, 67.4%, 0%, 13.3%)
CIE-LABlab(47.66, 59.52, -62.92)
CIE-LCHlch(47.66, 86.62, 313.41°)
OKLaboklab(57.5% 0.1254 -0.1786)
OKLCHoklch(57.5% 0.218 305.1)
XYZxyz(28.3145, 16.5308, 70.0917)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9848DD #8DDD48
analogous
#4E48DD #9848DD #DD48D7
triadic
#9848DD #DD9848 #48DD98
tetradic
#9848DD #DD4E48 #8DDD48 #48D7DD
square
#9848DD #DD4E48 #8DDD48 #48D7DD
split-complementary
#9848DD #D7DD48 #48DD4E
monochromatic
#5A1B90 #7A24C3 #9848DD #B57CE7 #D2AFF0

Accessibility & contrast

On white

4.88
#9848DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9848DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9848DD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9848DD#FFFFFF#000000##FFFFFF
##9848DD1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#1271DA
Tritanopia (blue-blind)
#8B698D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9848dd;
/* rgb */ color: rgb(152, 72, 221);
/* oklch */ color: oklch(57.5% 0.218 305.1);
Tailwind
colors: {
  custom: {
    50: '#bb81e8',
    500: '#9848dd',
    950: '#000000',
  },
}
SCSS
$custom: #9848dd;
$custom-light: #bb81e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9848dd",
  "rgb": {
    "r": 152,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 272.215,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.575,
    "c": 0.21826,
    "h": 305.1
  },
  "luminance": 0.16531
}

Semantic roles & 50–950 ramp

primary
#9848DD
secondary
#BEDEA2
accent
#EC3C8D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9848DD

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

Preview Lab → · Contrast checker → · Palette generator →

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