#9945D2#9945D2

#9945D2 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.211 H 308.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9945D2
RGBrgb(153, 69, 210)
HSLhsl(276, 61%, 55%)
HSVhsv(276, 67%, 82%)
CMYKcmyk(27.1%, 67.1%, 0%, 17.6%)
CIE-LABlab(46.55, 58.63, -58.42)
CIE-LCHlch(46.55, 82.77, 315.10°)
OKLaboklab(56.5% 0.1311 -0.1654)
OKLCHoklch(56.5% 0.211 308.4)
XYZxyz(26.8955, 15.6821, 62.5704)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9945D2 #7ED245
analogous
#5345D2 #9945D2 #D245C4
triadic
#9945D2 #D29945 #45D299
tetradic
#9945D2 #D25345 #7ED245 #45C4D2
square
#9945D2 #D25345 #7ED245 #45C4D2
split-complementary
#9945D2 #C4D245 #45D253
monochromatic
#571F7E #7A2AAF #9945D2 #B476DE #CFA8EA

Accessibility & contrast

On white

5.08
#9945D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9945D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9945D2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9945D2#FFFFFF#000000##FFFFFF
##9945D21.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#286FCF
Tritanopia (blue-blind)
#906386
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9945d2;
/* rgb */ color: rgb(153, 69, 210);
/* oklch */ color: oklch(56.5% 0.211 308.4);
Tailwind
colors: {
  custom: {
    50: '#bb7fe1',
    500: '#9945d2',
    950: '#000000',
  },
}
SCSS
$custom: #9945d2;
$custom-light: #bb7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#9945d2",
  "rgb": {
    "r": 153,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 275.745,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56499,
    "c": 0.21103,
    "h": 308.4
  },
  "luminance": 0.15682
}

Semantic roles & 50–950 ramp

primary
#9945D2
secondary
#B4D79C
accent
#E44485
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9945D2

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

Preview Lab → · Contrast checker → · Palette generator →

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