#9945D3#9945D3

#9945D3 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.6% C 0.212 H 308.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9945D3
RGBrgb(153, 69, 211)
HSLhsl(275, 62%, 55%)
HSVhsv(275, 67%, 83%)
CMYKcmyk(27.5%, 67.3%, 0%, 17.3%)
CIE-LABlab(46.62, 58.85, -58.89)
CIE-LCHlch(46.62, 83.25, 314.98°)
OKLaboklab(56.57% 0.131 -0.1667)
OKLCHoklch(56.57% 0.212 308.2)
XYZxyz(27.0204, 15.7321, 63.2285)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9945D3 #7FD345
analogous
#5245D3 #9945D3 #D345C6
triadic
#9945D3 #D39945 #45D399
tetradic
#9945D3 #D35245 #7FD345 #45C6D3
square
#9945D3 #D35245 #7FD345 #45C6D3
split-complementary
#9945D3 #C6D345 #45D352
monochromatic
#581E7F #7A2AB1 #9945D3 #B476DF #CFA8EA

Accessibility & contrast

On white

5.06
#9945D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9945D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9945D3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9945D3#FFFFFF#000000##FFFFFF
##9945D31.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#266FD0
Tritanopia (blue-blind)
#906487
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9945d3;
/* rgb */ color: rgb(153, 69, 211);
/* oklch */ color: oklch(56.6% 0.212 308.2);
Tailwind
colors: {
  custom: {
    50: '#bb7fe1',
    500: '#9945d3',
    950: '#000000',
  },
}
SCSS
$custom: #9945d3;
$custom-light: #bb7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#9945d3",
  "rgb": {
    "r": 153,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 275.493,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56567,
    "c": 0.21205,
    "h": 308.2
  },
  "luminance": 0.15732
}

Semantic roles & 50–950 ramp

primary
#9945D3
secondary
#B4D89C
accent
#E54385
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9945D3

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

Preview Lab → · Contrast checker → · Palette generator →

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