#9948CC#9948CC

#9948CC is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.201 H 309.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9948CC
RGBrgb(153, 72, 204)
HSLhsl(277, 56%, 54%)
HSVhsv(277, 65%, 80%)
CMYKcmyk(25%, 64.7%, 0%, 20%)
CIE-LABlab(46.67, 55.91, -54.79)
CIE-LCHlch(46.67, 78.28, 315.58°)
OKLaboklab(56.46% 0.1282 -0.1547)
OKLCHoklch(56.46% 0.201 309.7)
XYZxyz(26.3512, 15.7672, 58.7702)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9948CC #7BCC48
analogous
#5748CC #9948CC #CC48BD
triadic
#9948CC #CC9948 #48CC99
tetradic
#9948CC #CC5748 #7BCC48 #48BDCC
square
#9948CC #CC5748 #7BCC48 #48BDCC
split-complementary
#9948CC #BDCC48 #48CC57
monochromatic
#572178 #792FA8 #9948CC #B478D9 #CEA8E7

Accessibility & contrast

On white

5.06
#9948CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9948CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9948CC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9948CC#FFFFFF#000000##FFFFFF
##9948CC1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#3570C9
Tritanopia (blue-blind)
#926384
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9948cc;
/* rgb */ color: rgb(153, 72, 204);
/* oklch */ color: oklch(56.5% 0.201 309.7);
Tailwind
colors: {
  custom: {
    50: '#bb80dc',
    500: '#9948cc',
    950: '#000000',
  },
}
SCSS
$custom: #9948cc;
$custom-light: #bb80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9948cc",
  "rgb": {
    "r": 153,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 276.818,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56456,
    "c": 0.20096,
    "h": 309.7
  },
  "luminance": 0.15767
}

Semantic roles & 50–950 ramp

primary
#9948CC
secondary
#B2D49C
accent
#E04883
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9948CC

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

Preview Lab → · Contrast checker → · Palette generator →

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