#9945D7#9945D7

#9945D7 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.8% C 0.216 H 307.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9945D7
RGBrgb(153, 69, 215)
HSLhsl(275, 65%, 56%)
HSVhsv(275, 68%, 84%)
CMYKcmyk(28.8%, 67.9%, 0%, 15.7%)
CIE-LABlab(46.89, 59.74, -60.75)
CIE-LCHlch(46.89, 85.20, 314.52°)
OKLaboklab(56.84% 0.1306 -0.1722)
OKLCHoklch(56.84% 0.216 307.2)
XYZxyz(27.5281, 15.9352, 65.9024)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9945D7 #83D745
analogous
#5045D7 #9945D7 #D745CC
triadic
#9945D7 #D79945 #45D799
tetradic
#9945D7 #D75045 #83D745 #45CCD7
square
#9945D7 #D75045 #83D745 #45CCD7
split-complementary
#9945D7 #CCD745 #45D750
monochromatic
#591D85 #7A27B7 #9945D7 #B577E2 #D0AAED

Accessibility & contrast

On white

5.02
#9945D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9945D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9945D7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9945D7#FFFFFF#000000##FFFFFF
##9945D71.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#1E70D4
Tritanopia (blue-blind)
#8F6589
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9945d7;
/* rgb */ color: rgb(153, 69, 215);
/* oklch */ color: oklch(56.8% 0.216 307.2);
Tailwind
colors: {
  custom: {
    50: '#bc7fe4',
    500: '#9945d7',
    950: '#000000',
  },
}
SCSS
$custom: #9945d7;
$custom-light: #bc7fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#9945d7",
  "rgb": {
    "r": 153,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 274.521,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56844,
    "c": 0.2161,
    "h": 307.2
  },
  "luminance": 0.15935
}

Semantic roles & 50–950 ramp

primary
#9945D7
secondary
#B7DA9E
accent
#E84087
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9945D7

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

Preview Lab → · Contrast checker → · Palette generator →

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