#9948D7#9948D7

#9948D7 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.2% C 0.212 H 306.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9948D7
RGBrgb(153, 72, 215)
HSLhsl(274, 64%, 56%)
HSVhsv(274, 67%, 84%)
CMYKcmyk(28.8%, 66.5%, 0%, 15.7%)
CIE-LABlab(47.38, 58.37, -59.95)
CIE-LCHlch(47.38, 83.67, 314.23°)
OKLaboklab(57.2% 0.1274 -0.1699)
OKLCHoklch(57.2% 0.212 306.9)
XYZxyz(27.7174, 16.3136, 65.9655)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9948D7 #86D748
analogous
#5248D7 #9948D7 #D748CE
triadic
#9948D7 #D79948 #48D799
tetradic
#9948D7 #D75248 #86D748 #48CED7
square
#9948D7 #D75248 #86D748 #48CED7
split-complementary
#9948D7 #CED748 #48D752
monochromatic
#591E87 #7B29B9 #9948D7 #B57AE2 #D1ACED

Accessibility & contrast

On white

4.93
#9948D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9948D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9948D7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9948D7#FFFFFF#000000##FFFFFF
##9948D71.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#2471D4
Tritanopia (blue-blind)
#8F678A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9948d7;
/* rgb */ color: rgb(153, 72, 215);
/* oklch */ color: oklch(57.2% 0.212 306.9);
Tailwind
colors: {
  custom: {
    50: '#bc80e4',
    500: '#9948d7',
    950: '#000000',
  },
}
SCSS
$custom: #9948d7;
$custom-light: #bc80e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9948d7",
  "rgb": {
    "r": 153,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 273.986,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57198,
    "c": 0.2123,
    "h": 306.9
  },
  "luminance": 0.16313
}

Semantic roles & 50–950 ramp

primary
#9948D7
secondary
#B9DBA0
accent
#E74189
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9948D7

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

Preview Lab → · Contrast checker → · Palette generator →

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