#9945DC#9945DC

#9945DC is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.2% C 0.221 H 306.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9945DC
RGBrgb(153, 69, 220)
HSLhsl(273, 68%, 57%)
HSVhsv(273, 69%, 86%)
CMYKcmyk(30.5%, 68.6%, 0%, 13.7%)
CIE-LABlab(47.23, 60.86, -63.05)
CIE-LCHlch(47.23, 87.63, 313.99°)
OKLaboklab(57.2% 0.13 -0.179)
OKLCHoklch(57.2% 0.221 306)
XYZxyz(28.1804, 16.1961, 69.3378)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9945DC #88DC45
analogous
#4D45DC #9945DC #DC45D4
triadic
#9945DC #DC9945 #45DC99
tetradic
#9945DC #DC4D45 #88DC45 #45D4DC
square
#9945DC #DC4D45 #88DC45 #45D4DC
split-complementary
#9945DC #D4DC45 #45DC4D
monochromatic
#5A1A8C #7B24C0 #9945DC #B579E6 #D1ACEF

Accessibility & contrast

On white

4.95
#9945DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9945DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9945DC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9945DC#FFFFFF#000000##FFFFFF
##9945DC1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#1070D9
Tritanopia (blue-blind)
#8D678B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9945dc;
/* rgb */ color: rgb(153, 69, 220);
/* oklch */ color: oklch(57.2% 0.221 306.0);
Tailwind
colors: {
  custom: {
    50: '#bc7fe8',
    500: '#9945dc',
    950: '#000000',
  },
}
SCSS
$custom: #9945dc;
$custom-light: #bc7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#9945dc",
  "rgb": {
    "r": 153,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 273.377,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57196,
    "c": 0.22117,
    "h": 306
  },
  "luminance": 0.16196
}

Semantic roles & 50–950 ramp

primary
#9945DC
secondary
#BBDDA0
accent
#EB3D8A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9945DC

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

Preview Lab → · Contrast checker → · Palette generator →

#9945DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva