#9949E1#9949E1

#9949E1 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.0% C 0.221 H 304.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9949E1
RGBrgb(153, 73, 225)
HSLhsl(272, 72%, 58%)
HSVhsv(272, 68%, 88%)
CMYKcmyk(32%, 67.6%, 0%, 11.8%)
CIE-LABlab(48.23, 60.18, -64.28)
CIE-LCHlch(48.23, 88.05, 313.11°)
OKLaboklab(58.02% 0.1252 -0.1826)
OKLCHoklch(58.02% 0.221 304.4)
XYZxyz(29.1070, 16.9738, 72.9624)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9949E1 #91E149
analogous
#4D49E1 #9949E1 #E149DD
triadic
#9949E1 #E19949 #49E199
tetradic
#9949E1 #E14D49 #91E149 #49DDE1
square
#9949E1 #E14D49 #91E149 #49DDE1
split-complementary
#9949E1 #DDE149 #49E14D
monochromatic
#5B1997 #7B22CB #9949E1 #B67EEA #D4B2F2

Accessibility & contrast

On white

4.78
#9949E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9949E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9949E1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9949E1#FFFFFF#000000##FFFFFF
##9949E11.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0972DE
Tritanopia (blue-blind)
#8C6B8F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9949e1;
/* rgb */ color: rgb(153, 73, 225);
/* oklch */ color: oklch(58.0% 0.221 304.4);
Tailwind
colors: {
  custom: {
    50: '#bc81eb',
    500: '#9949e1',
    950: '#000000',
  },
}
SCSS
$custom: #9949e1;
$custom-light: #bc81eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9949e1",
  "rgb": {
    "r": 153,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 271.579,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58017,
    "c": 0.22139,
    "h": 304.4
  },
  "luminance": 0.16974
}

Semantic roles & 50–950 ramp

primary
#9949E1
secondary
#C1E1A5
accent
#EE398F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9949E1

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

Preview Lab → · Contrast checker → · Palette generator →

#9949E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva