#9945CF#9945CF

#9945CF is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.208 H 309.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9945CF
RGBrgb(153, 69, 207)
HSLhsl(277, 59%, 54%)
HSVhsv(277, 67%, 81%)
CMYKcmyk(26.1%, 66.7%, 0%, 18.8%)
CIE-LABlab(46.36, 57.97, -57.02)
CIE-LCHlch(46.36, 81.31, 315.47°)
OKLaboklab(56.29% 0.1314 -0.1612)
OKLCHoklch(56.29% 0.208 309.2)
XYZxyz(26.5252, 15.5340, 60.6204)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9945CF #7BCF45
analogous
#5445CF #9945CF #CF45C0
triadic
#9945CF #CF9945 #45CF99
tetradic
#9945CF #CF5445 #7BCF45 #45C0CF
square
#9945CF #CF5445 #7BCF45 #45C0CF
split-complementary
#9945CF #C0CF45 #45CF54
monochromatic
#57207A #792CAB #9945CF #B476DC #CEA6E8

Accessibility & contrast

On white

5.11
#9945CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9945CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9945CF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9945CF#FFFFFF#000000##FFFFFF
##9945CF1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#2D6FCC
Tritanopia (blue-blind)
#916284
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9945cf;
/* rgb */ color: rgb(153, 69, 207);
/* oklch */ color: oklch(56.3% 0.208 309.2);
Tailwind
colors: {
  custom: {
    50: '#bb7ede',
    500: '#9945cf',
    950: '#000000',
  },
}
SCSS
$custom: #9945cf;
$custom-light: #bb7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#9945cf",
  "rgb": {
    "r": 153,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 276.522,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56294,
    "c": 0.20799,
    "h": 309.2
  },
  "luminance": 0.15534
}

Semantic roles & 50–950 ramp

primary
#9945CF
secondary
#B2D59B
accent
#E24683
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9945CF

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

Preview Lab → · Contrast checker → · Palette generator →

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