#9948CF#9948CF

#9948CF is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.204 H 308.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9948CF
RGBrgb(153, 72, 207)
HSLhsl(276, 58%, 55%)
HSVhsv(276, 65%, 81%)
CMYKcmyk(26.1%, 65.2%, 0%, 18.8%)
CIE-LABlab(46.86, 56.58, -56.21)
CIE-LCHlch(46.86, 79.75, 315.19°)
OKLaboklab(56.66% 0.128 -0.1589)
OKLCHoklch(56.66% 0.204 308.9)
XYZxyz(26.7145, 15.9125, 60.6835)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9948CF #7ECF48
analogous
#5648CF #9948CF #CF48C2
triadic
#9948CF #CF9948 #48CF99
tetradic
#9948CF #CF5648 #7ECF48 #48C2CF
square
#9948CF #CF5648 #7ECF48 #48C2CF
split-complementary
#9948CF #C2CF48 #48CF56
monochromatic
#57217C #7A2DAD #9948CF #B478DC #CFA9E8

Accessibility & contrast

On white

5.02
#9948CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9948CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9948CF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9948CF#FFFFFF#000000##FFFFFF
##9948CF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3170CC
Tritanopia (blue-blind)
#916485
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9948cf;
/* rgb */ color: rgb(153, 72, 207);
/* oklch */ color: oklch(56.7% 0.204 308.9);
Tailwind
colors: {
  custom: {
    50: '#bb80de',
    500: '#9948cf',
    950: '#000000',
  },
}
SCSS
$custom: #9948cf;
$custom-light: #bb80de;
$custom-dark: #000000;
JSON
{
  "hex": "#9948cf",
  "rgb": {
    "r": 153,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 276,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56655,
    "c": 0.20405,
    "h": 308.9
  },
  "luminance": 0.15912
}

Semantic roles & 50–950 ramp

primary
#9948CF
secondary
#B4D69D
accent
#E24684
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9948CF

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

Preview Lab → · Contrast checker → · Palette generator →

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