#9948D2#9948D2

#9948D2 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.207 H 308.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9948D2
RGBrgb(153, 72, 210)
HSLhsl(275, 61%, 55%)
HSVhsv(275, 66%, 82%)
CMYKcmyk(27.1%, 65.7%, 0%, 17.6%)
CIE-LABlab(47.05, 57.24, -57.62)
CIE-LCHlch(47.05, 81.22, 314.81°)
OKLaboklab(56.86% 0.1278 -0.163)
OKLCHoklch(56.86% 0.207 308.1)
XYZxyz(27.0847, 16.0606, 62.6334)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9948D2 #81D248
analogous
#5448D2 #9948D2 #D248C6
triadic
#9948D2 #D29948 #48D299
tetradic
#9948D2 #D25448 #81D248 #48C6D2
square
#9948D2 #D25448 #81D248 #48C6D2
split-complementary
#9948D2 #C6D248 #48D254
monochromatic
#582080 #7A2CB1 #9948D2 #B479DE #D0AAEA

Accessibility & contrast

On white

4.99
#9948D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9948D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9948D2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9948D2#FFFFFF#000000##FFFFFF
##9948D21.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#2D70CF
Tritanopia (blue-blind)
#906587
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9948d2;
/* rgb */ color: rgb(153, 72, 210);
/* oklch */ color: oklch(56.9% 0.207 308.1);
Tailwind
colors: {
  custom: {
    50: '#bb80e1',
    500: '#9948d2',
    950: '#000000',
  },
}
SCSS
$custom: #9948d2;
$custom-light: #bb80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9948d2",
  "rgb": {
    "r": 153,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 275.217,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56857,
    "c": 0.20715,
    "h": 308.1
  },
  "luminance": 0.1606
}

Semantic roles & 50–950 ramp

primary
#9948D2
secondary
#B6D89E
accent
#E44486
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9948D2

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

Preview Lab → · Contrast checker → · Palette generator →

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