#9945CA#9945CA

#9945CA is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.0% C 0.203 H 310.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9945CA
RGBrgb(153, 69, 202)
HSLhsl(278, 56%, 53%)
HSVhsv(278, 66%, 79%)
CMYKcmyk(24.3%, 65.8%, 0%, 20.8%)
CIE-LABlab(46.03, 56.87, -54.66)
CIE-LCHlch(46.03, 78.88, 316.14°)
OKLaboklab(55.96% 0.1318 -0.1543)
OKLCHoklch(55.96% 0.203 310.5)
XYZxyz(25.9236, 15.2934, 57.4520)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9945CA #76CA45
analogous
#5645CA #9945CA #CA45B8
triadic
#9945CA #CA9945 #45CA99
tetradic
#9945CA #CA5645 #76CA45 #45B8CA
square
#9945CA #CA5645 #76CA45 #45B8CA
split-complementary
#9945CA #B8CA45 #45CA56
monochromatic
#552174 #782FA3 #9945CA #B375D8 #CDA4E5

Accessibility & contrast

On white

5.17
#9945CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9945CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9945CA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9945CA#FFFFFF#000000##FFFFFF
##9945CA1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#336EC7
Tritanopia (blue-blind)
#936082
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9945ca;
/* rgb */ color: rgb(153, 69, 202);
/* oklch */ color: oklch(56.0% 0.203 310.5);
Tailwind
colors: {
  custom: {
    50: '#bb7edb',
    500: '#9945ca',
    950: '#000000',
  },
}
SCSS
$custom: #9945ca;
$custom-light: #bb7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#9945ca",
  "rgb": {
    "r": 153,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 277.895,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55958,
    "c": 0.20292,
    "h": 310.5
  },
  "luminance": 0.15293
}

Semantic roles & 50–950 ramp

primary
#9945CA
secondary
#AED299
accent
#DF4980
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9945CA

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

Preview Lab → · Contrast checker → · Palette generator →

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