#9948DD#9948DD

#9948DD is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.6% C 0.218 H 305.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9948DD
RGBrgb(153, 72, 221)
HSLhsl(273, 69%, 57%)
HSVhsv(273, 67%, 87%)
CMYKcmyk(30.8%, 67.4%, 0%, 13.3%)
CIE-LABlab(47.79, 59.73, -62.72)
CIE-LCHlch(47.79, 86.61, 313.60°)
OKLaboklab(57.62% 0.1267 -0.178)
OKLCHoklch(57.62% 0.219 305.4)
XYZxyz(28.5025, 16.6277, 70.1005)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9948DD #8CDD48
analogous
#4E48DD #9948DD #DD48D7
triadic
#9948DD #DD9948 #48DD99
tetradic
#9948DD #DD4E48 #8CDD48 #48D7DD
square
#9948DD #DD4E48 #8CDD48 #48D7DD
split-complementary
#9948DD #D7DD48 #48DD4E
monochromatic
#5A1B90 #7B24C3 #9948DD #B67CE7 #D3AFF0

Accessibility & contrast

On white

4.86
#9948DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9948DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9948DD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9948DD#FFFFFF#000000##FFFFFF
##9948DD1.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9948dd;
/* rgb */ color: rgb(153, 72, 221);
/* oklch */ color: oklch(57.6% 0.218 305.4);
Tailwind
colors: {
  custom: {
    50: '#bc81e8',
    500: '#9948dd',
    950: '#000000',
  },
}
SCSS
$custom: #9948dd;
$custom-light: #bc81e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9948dd",
  "rgb": {
    "r": 153,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 272.617,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57616,
    "c": 0.2185,
    "h": 305.4
  },
  "luminance": 0.16627
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9948DD

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

Preview Lab → · Contrast checker → · Palette generator →

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