#9945CC#9945CC

#9945CC is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.205 H 310.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9945CC
RGBrgb(153, 69, 204)
HSLhsl(277, 57%, 54%)
HSVhsv(277, 66%, 80%)
CMYKcmyk(25%, 66.2%, 0%, 20%)
CIE-LABlab(46.16, 57.31, -55.61)
CIE-LCHlch(46.16, 79.85, 315.86°)
OKLaboklab(56.09% 0.1316 -0.1571)
OKLCHoklch(56.09% 0.205 310)
XYZxyz(26.1620, 15.3887, 58.7072)
Luminance0.1539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9945CC #78CC45
analogous
#5545CC #9945CC #CC45BC
triadic
#9945CC #CC9945 #45CC99
tetradic
#9945CC #CC5545 #78CC45 #45BCCC
square
#9945CC #CC5545 #78CC45 #45BCCC
split-complementary
#9945CC #BCCC45 #45CC55
monochromatic
#562076 #792EA6 #9945CC #B375D9 #CEA5E6

Accessibility & contrast

On white

5.15
#9945CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9945CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9945CC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9945CC#FFFFFF#000000##FFFFFF
##9945CC1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#316FC9
Tritanopia (blue-blind)
#926183
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9945cc;
/* rgb */ color: rgb(153, 69, 204);
/* oklch */ color: oklch(56.1% 0.205 310.0);
Tailwind
colors: {
  custom: {
    50: '#bb7edc',
    500: '#9945cc',
    950: '#000000',
  },
}
SCSS
$custom: #9945cc;
$custom-light: #bb7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#9945cc",
  "rgb": {
    "r": 153,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 277.333,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56092,
    "c": 0.20495,
    "h": 310
  },
  "luminance": 0.15388
}

Semantic roles & 50–950 ramp

primary
#9945CC
secondary
#AFD399
accent
#E04881
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9945CC

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

Preview Lab → · Contrast checker → · Palette generator →

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