#9948D4#9948D4

#9948D4 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.209 H 307.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9948D4
RGBrgb(153, 72, 212)
HSLhsl(275, 62%, 56%)
HSVhsv(275, 66%, 83%)
CMYKcmyk(27.8%, 66%, 0%, 16.9%)
CIE-LABlab(47.18, 57.69, -58.55)
CIE-LCHlch(47.18, 82.20, 314.57°)
OKLaboklab(56.99% 0.1276 -0.1658)
OKLCHoklch(56.99% 0.209 307.6)
XYZxyz(27.3354, 16.1609, 63.9539)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9948D4 #83D448
analogous
#5348D4 #9948D4 #D448C9
triadic
#9948D4 #D49948 #48D499
tetradic
#9948D4 #D45348 #83D448 #48C9D4
square
#9948D4 #D45348 #83D448 #48C9D4
split-complementary
#9948D4 #C9D448 #48D453
monochromatic
#591F83 #7A2AB4 #9948D4 #B57AE0 #D0ABEB

Accessibility & contrast

On white

4.96
#9948D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9948D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9948D4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9948D4#FFFFFF#000000##FFFFFF
##9948D41.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#2A71D1
Tritanopia (blue-blind)
#906688
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9948d4;
/* rgb */ color: rgb(153, 72, 212);
/* oklch */ color: oklch(57.0% 0.209 307.6);
Tailwind
colors: {
  custom: {
    50: '#bb80e2',
    500: '#9948d4',
    950: '#000000',
  },
}
SCSS
$custom: #9948d4;
$custom-light: #bb80e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9948d4",
  "rgb": {
    "r": 153,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 274.714,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56993,
    "c": 0.20921,
    "h": 307.6
  },
  "luminance": 0.16161
}

Semantic roles & 50–950 ramp

primary
#9948D4
secondary
#B7D99F
accent
#E54387
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9948D4

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

Preview Lab → · Contrast checker → · Palette generator →

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