#9945CD#9945CD

#9945CD is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.2% C 0.206 H 309.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9945CD
RGBrgb(153, 69, 205)
HSLhsl(277, 58%, 54%)
HSVhsv(277, 66%, 80%)
CMYKcmyk(25.4%, 66.3%, 0%, 19.6%)
CIE-LABlab(46.23, 57.53, -56.08)
CIE-LCHlch(46.23, 80.34, 315.73°)
OKLaboklab(56.16% 0.1316 -0.1585)
OKLCHoklch(56.16% 0.206 309.7)
XYZxyz(26.2823, 15.4368, 59.3408)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9945CD #79CD45
analogous
#5545CD #9945CD #CD45BD
triadic
#9945CD #CD9945 #45CD99
tetradic
#9945CD #CD5545 #79CD45 #45BDCD
square
#9945CD #CD5545 #79CD45 #45BDCD
split-complementary
#9945CD #BDCD45 #45CD55
monochromatic
#562077 #792DA8 #9945CD #B375DA #CEA5E7

Accessibility & contrast

On white

5.14
#9945CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9945CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9945CD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9945CD#FFFFFF#000000##FFFFFF
##9945CD1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#306FCA
Tritanopia (blue-blind)
#926183
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9945cd;
/* rgb */ color: rgb(153, 69, 205);
/* oklch */ color: oklch(56.2% 0.206 309.7);
Tailwind
colors: {
  custom: {
    50: '#bb7edd',
    500: '#9945cd',
    950: '#000000',
  },
}
SCSS
$custom: #9945cd;
$custom-light: #bb7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#9945cd",
  "rgb": {
    "r": 153,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 277.059,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56159,
    "c": 0.20596,
    "h": 309.7
  },
  "luminance": 0.15436
}

Semantic roles & 50–950 ramp

primary
#9945CD
secondary
#B0D49A
accent
#E14782
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9945CD

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

Preview Lab → · Contrast checker → · Palette generator →

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