#9945CB#9945CB

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

Color values

HEX#9945CB
RGBrgb(153, 69, 203)
HSLhsl(278, 56%, 53%)
HSVhsv(278, 66%, 80%)
CMYKcmyk(24.6%, 66%, 0%, 20.4%)
CIE-LABlab(46.10, 57.09, -55.13)
CIE-LCHlch(46.10, 79.37, 316.00°)
OKLaboklab(56.03% 0.1317 -0.1557)
OKLCHoklch(56.03% 0.204 310.2)
XYZxyz(26.0424, 15.3409, 58.0775)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9945CB #77CB45
analogous
#5645CB #9945CB #CB45BA
triadic
#9945CB #CB9945 #45CB99
tetradic
#9945CB #CB5645 #77CB45 #45BACB
square
#9945CB #CB5645 #77CB45 #45BACB
split-complementary
#9945CB #BACB45 #45CB56
monochromatic
#552175 #782EA5 #9945CB #B375D8 #CDA5E6

Accessibility & contrast

On white

5.16
#9945CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9945CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9945CB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9945CB#FFFFFF#000000##FFFFFF
##9945CB1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#326FC8
Tritanopia (blue-blind)
#926182
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9945cb;
/* rgb */ color: rgb(153, 69, 203);
/* oklch */ color: oklch(56.0% 0.204 310.2);
Tailwind
colors: {
  custom: {
    50: '#bb7edc',
    500: '#9945cb',
    950: '#000000',
  },
}
SCSS
$custom: #9945cb;
$custom-light: #bb7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#9945cb",
  "rgb": {
    "r": 153,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 277.612,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56025,
    "c": 0.20394,
    "h": 310.2
  },
  "luminance": 0.1534
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9945CB

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

Preview Lab → · Contrast checker → · Palette generator →

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