#9948CB#9948CB

#9948CB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.4% C 0.200 H 309.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9948CB
RGBrgb(153, 72, 203)
HSLhsl(277, 56%, 54%)
HSVhsv(277, 65%, 80%)
CMYKcmyk(24.6%, 64.5%, 0%, 20.4%)
CIE-LABlab(46.60, 55.69, -54.32)
CIE-LCHlch(46.60, 77.79, 315.71°)
OKLaboklab(56.39% 0.1283 -0.1533)
OKLCHoklch(56.39% 0.2 309.9)
XYZxyz(26.2316, 15.7194, 58.1406)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9948CB #7ACB48
analogous
#5848CB #9948CB #CB48BC
triadic
#9948CB #CB9948 #48CB99
tetradic
#9948CB #CB5848 #7ACB48 #48BCCB
square
#9948CB #CB5848 #7ACB48 #48BCCB
split-complementary
#9948CB #BCCB48 #48CB58
monochromatic
#562277 #792FA6 #9948CB #B478D9 #CEA7E6

Accessibility & contrast

On white

5.07
#9948CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9948CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9948CB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9948CB#FFFFFF#000000##FFFFFF
##9948CB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#3670C8
Tritanopia (blue-blind)
#926383
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9948cb;
/* rgb */ color: rgb(153, 72, 203);
/* oklch */ color: oklch(56.4% 0.200 309.9);
Tailwind
colors: {
  custom: {
    50: '#bb80db',
    500: '#9948cb',
    950: '#000000',
  },
}
SCSS
$custom: #9948cb;
$custom-light: #bb80db;
$custom-dark: #000000;
JSON
{
  "hex": "#9948cb",
  "rgb": {
    "r": 153,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 277.099,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5639,
    "c": 0.19993,
    "h": 309.9
  },
  "luminance": 0.15719
}

Semantic roles & 50–950 ramp

primary
#9948CB
secondary
#B1D39B
accent
#DF4982
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9948CB

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

Preview Lab → · Contrast checker → · Palette generator →

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