#9D45D6#9D45D6

#9D45D6 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.3% C 0.216 H 308.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9D45D6
RGBrgb(157, 69, 214)
HSLhsl(276, 64%, 55%)
HSVhsv(276, 68%, 84%)
CMYKcmyk(26.6%, 67.8%, 0%, 16.1%)
CIE-LABlab(47.34, 60.34, -59.42)
CIE-LCHlch(47.34, 84.69, 315.44°)
OKLaboklab(57.26% 0.1359 -0.1682)
OKLCHoklch(57.26% 0.216 308.9)
XYZxyz(28.1679, 16.2799, 65.2637)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D45D6 #7ED645
analogous
#5445D6 #9D45D6 #D645C6
triadic
#9D45D6 #D69D45 #45D69D
tetradic
#9D45D6 #D65445 #7ED645 #45C6D6
square
#9D45D6 #D65445 #7ED645 #45C6D6
split-complementary
#9D45D6 #C6D645 #45D654
monochromatic
#5B1D84 #7E28B6 #9D45D6 #B777E1 #D2A9EC

Accessibility & contrast

On white

4.93
#9D45D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9D45D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D45D6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D45D6#FFFFFF#000000##FFFFFF
##9D45D61.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDA
Deuteranopia (green-blind)
#2971D3
Tritanopia (blue-blind)
#956488
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d45d6;
/* rgb */ color: rgb(157, 69, 214);
/* oklch */ color: oklch(57.3% 0.216 308.9);
Tailwind
colors: {
  custom: {
    50: '#be7fe3',
    500: '#9d45d6',
    950: '#000000',
  },
}
SCSS
$custom: #9d45d6;
$custom-light: #be7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d45d6",
  "rgb": {
    "r": 157,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 276.414,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57256,
    "c": 0.2162,
    "h": 308.9
  },
  "luminance": 0.16279
}

Semantic roles & 50–950 ramp

primary
#9D45D6
secondary
#B5DA9D
accent
#E74182
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D45D6

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

Preview Lab → · Contrast checker → · Palette generator →

#9D45D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva