#9948DB#9948DB

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

Color values

HEX#9948DB
RGBrgb(153, 72, 219)
HSLhsl(273, 67%, 57%)
HSVhsv(273, 67%, 86%)
CMYKcmyk(30.1%, 67.1%, 0%, 14.1%)
CIE-LABlab(47.65, 59.27, -61.80)
CIE-LCHlch(47.65, 85.63, 313.80°)
OKLaboklab(57.48% 0.1269 -0.1753)
OKLCHoklch(57.48% 0.216 305.9)
XYZxyz(28.2376, 16.5217, 68.7055)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9948DB #8ADB48
analogous
#5048DB #9948DB #DB48D4
triadic
#9948DB #DB9948 #48DB99
tetradic
#9948DB #DB5048 #8ADB48 #48D4DB
square
#9948DB #DB5048 #8ADB48 #48D4DB
split-complementary
#9948DB #D4DB48 #48DB50
monochromatic
#5A1C8D #7B26C0 #9948DB #B67BE5 #D2AEEF

Accessibility & contrast

On white

4.88
#9948DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9948DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9948DB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9948DB#FFFFFF#000000##FFFFFF
##9948DB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#1C71D8
Tritanopia (blue-blind)
#8D698C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9948db;
/* rgb */ color: rgb(153, 72, 219);
/* oklch */ color: oklch(57.5% 0.216 305.9);
Tailwind
colors: {
  custom: {
    50: '#bc81e7',
    500: '#9948db',
    950: '#000000',
  },
}
SCSS
$custom: #9948db;
$custom-light: #bc81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9948db",
  "rgb": {
    "r": 153,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 273.061,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57476,
    "c": 0.21643,
    "h": 305.9
  },
  "luminance": 0.16522
}

Semantic roles & 50–950 ramp

primary
#9948DB
secondary
#BCDDA2
accent
#EA3E8B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9948DB

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

Preview Lab → · Contrast checker → · Palette generator →

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