#9948EF#9948EF

#9948EF is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.9% C 0.237 H 301.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9948EF
RGBrgb(153, 72, 239)
HSLhsl(269, 84%, 61%)
HSVhsv(269, 70%, 94%)
CMYKcmyk(36%, 69.9%, 0%, 6.3%)
CIE-LABlab(49.06, 63.88, -70.84)
CIE-LCHlch(49.06, 95.38, 312.04°)
OKLaboklab(58.92% 0.1242 -0.2019)
OKLCHoklch(58.92% 0.237 301.6)
XYZxyz(31.0305, 17.6389, 83.4145)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9948EF #9EEF48
analogous
#484AEF #9948EF #ED48EF
triadic
#9948EF #EF9948 #48EF99
tetradic
#9948EF #EF484A #9EEF48 #48EFED
square
#9948EF #EF484A #9EEF48 #48EFED
split-complementary
#9948EF #EFED48 #4AEF48
monochromatic
#5C0FAD #7A14E6 #9948EF #B880F4 #D8B9F9

Accessibility & contrast

On white

4.64
#9948EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9948EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9948EF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9948EF#FFFFFF#000000##FFFFFF
##9948EF1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#877097
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9948ef;
/* rgb */ color: rgb(153, 72, 239);
/* oklch */ color: oklch(58.9% 0.237 301.6);
Tailwind
colors: {
  custom: {
    50: '#bd81f5',
    500: '#9948ef',
    950: '#000000',
  },
}
SCSS
$custom: #9948ef;
$custom-light: #bd81f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9948ef",
  "rgb": {
    "r": 153,
    "g": 72,
    "b": 239
  },
  "hsl": {
    "h": 269.102,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58919,
    "c": 0.237,
    "h": 301.6
  },
  "luminance": 0.17639
}

Semantic roles & 50–950 ramp

primary
#9948EF
secondary
#CAE9AA
accent
#E00576
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9948EF

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

Preview Lab → · Contrast checker → · Palette generator →

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