#9948D9#9948D9

#9948D9 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.3% C 0.214 H 306.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9948D9
RGBrgb(153, 72, 217)
HSLhsl(274, 66%, 57%)
HSVhsv(274, 67%, 85%)
CMYKcmyk(29.5%, 66.8%, 0%, 14.9%)
CIE-LABlab(47.52, 58.82, -60.88)
CIE-LCHlch(47.52, 84.65, 314.01°)
OKLaboklab(57.34% 0.1272 -0.1726)
OKLCHoklch(57.34% 0.214 306.4)
XYZxyz(27.9759, 16.4171, 67.3272)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9948D9 #88D948
analogous
#5148D9 #9948D9 #D948D1
triadic
#9948D9 #D99948 #48D999
tetradic
#9948D9 #D95148 #88D948 #48D1D9
square
#9948D9 #D95148 #88D948 #48D1D9
split-complementary
#9948D9 #D1D948 #48D951
monochromatic
#5A1D8A #7B27BD #9948D9 #B57BE4 #D1ADEE

Accessibility & contrast

On white

4.90
#9948D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9948D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9948D9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9948D9#FFFFFF#000000##FFFFFF
##9948D91.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#2071D6
Tritanopia (blue-blind)
#8E688B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9948d9;
/* rgb */ color: rgb(153, 72, 217);
/* oklch */ color: oklch(57.3% 0.214 306.4);
Tailwind
colors: {
  custom: {
    50: '#bc80e6',
    500: '#9948d9',
    950: '#000000',
  },
}
SCSS
$custom: #9948d9;
$custom-light: #bc80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9948d9",
  "rgb": {
    "r": 153,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 273.517,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57337,
    "c": 0.21437,
    "h": 306.4
  },
  "luminance": 0.16417
}

Semantic roles & 50–950 ramp

primary
#9948D9
secondary
#BBDCA1
accent
#E93F8A
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9948D9

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

Preview Lab → · Contrast checker → · Palette generator →

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