#9945D1#9945D1

#9945D1 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.4% C 0.210 H 308.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9945D1
RGBrgb(153, 69, 209)
HSLhsl(276, 60%, 55%)
HSVhsv(276, 67%, 82%)
CMYKcmyk(26.8%, 67%, 0%, 18%)
CIE-LABlab(46.49, 58.41, -57.96)
CIE-LCHlch(46.49, 82.28, 315.22°)
OKLaboklab(56.43% 0.1312 -0.164)
OKLCHoklch(56.43% 0.21 308.7)
XYZxyz(26.7713, 15.6324, 61.9163)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9945D1 #7DD145
analogous
#5345D1 #9945D1 #D145C3
triadic
#9945D1 #D19945 #45D199
tetradic
#9945D1 #D15345 #7DD145 #45C3D1
square
#9945D1 #D15345 #7DD145 #45C3D1
split-complementary
#9945D1 #C3D145 #45D153
monochromatic
#571F7D #792BAE #9945D1 #B476DD #CFA7E9

Accessibility & contrast

On white

5.09
#9945D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9945D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9945D1
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9945D1#FFFFFF#000000##FFFFFF
##9945D11.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#2A6FCE
Tritanopia (blue-blind)
#916385
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9945d1;
/* rgb */ color: rgb(153, 69, 209);
/* oklch */ color: oklch(56.4% 0.210 308.7);
Tailwind
colors: {
  custom: {
    50: '#bb7fe0',
    500: '#9945d1',
    950: '#000000',
  },
}
SCSS
$custom: #9945d1;
$custom-light: #bb7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#9945d1",
  "rgb": {
    "r": 153,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 276,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5643,
    "c": 0.21001,
    "h": 308.7
  },
  "luminance": 0.15632
}

Semantic roles & 50–950 ramp

primary
#9945D1
secondary
#B3D79B
accent
#E34484
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9945D1

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

Preview Lab → · Contrast checker → · Palette generator →

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