#9945D9#9945D9

#9945D9 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.0% C 0.218 H 306.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9945D9
RGBrgb(153, 69, 217)
HSLhsl(274, 66%, 56%)
HSVhsv(274, 68%, 85%)
CMYKcmyk(29.5%, 68.2%, 0%, 14.9%)
CIE-LABlab(47.03, 60.19, -61.67)
CIE-LCHlch(47.03, 86.17, 314.30°)
OKLaboklab(56.98% 0.1303 -0.1749)
OKLCHoklch(56.98% 0.218 306.7)
XYZxyz(27.7867, 16.0386, 67.2641)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9945D9 #85D945
analogous
#4F45D9 #9945D9 #D945CF
triadic
#9945D9 #D99945 #45D999
tetradic
#9945D9 #D94F45 #85D945 #45CFD9
square
#9945D9 #D94F45 #85D945 #45CFD9
split-complementary
#9945D9 #CFD945 #45D94F
monochromatic
#591C88 #7A26BB #9945D9 #B578E3 #D1ABEE

Accessibility & contrast

On white

4.99
#9945D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9945D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9945D9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9945D9#FFFFFF#000000##FFFFFF
##9945D91.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#1A70D6
Tritanopia (blue-blind)
#8E668A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9945d9;
/* rgb */ color: rgb(153, 69, 217);
/* oklch */ color: oklch(57.0% 0.218 306.7);
Tailwind
colors: {
  custom: {
    50: '#bc7fe6',
    500: '#9945d9',
    950: '#000000',
  },
}
SCSS
$custom: #9945d9;
$custom-light: #bc7fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9945d9",
  "rgb": {
    "r": 153,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 274.054,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56984,
    "c": 0.21813,
    "h": 306.7
  },
  "luminance": 0.16038
}

Semantic roles & 50–950 ramp

primary
#9945D9
secondary
#B9DB9E
accent
#E93F88
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9945D9

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

Preview Lab → · Contrast checker → · Palette generator →

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