#9D45C8#9D45C8

#9D45C8 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.3% C 0.202 H 312.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9D45C8
RGBrgb(157, 69, 200)
HSLhsl(280, 54%, 53%)
HSVhsv(280, 66%, 78%)
CMYKcmyk(21.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(46.44, 57.33, -52.82)
CIE-LCHlch(46.44, 77.96, 317.34°)
OKLaboklab(56.32% 0.137 -0.1488)
OKLCHoklch(56.32% 0.202 312.6)
XYZxyz(26.4562, 15.5952, 56.2489)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D45C8 #70C845
analogous
#5B45C8 #9D45C8 #C845B2
triadic
#9D45C8 #C89D45 #45C89D
tetradic
#9D45C8 #C85B45 #70C845 #45B2C8
square
#9D45C8 #C85B45 #70C845 #45B2C8
split-complementary
#9D45C8 #B2C845 #45C85B
monochromatic
#572171 #7B2FA0 #9D45C8 #B674D6 #CFA3E4

Accessibility & contrast

On white

5.10
#9D45C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9D45C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D45C8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D45C8#FFFFFF#000000##FFFFFF
##9D45C81.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#3B70C5
Tritanopia (blue-blind)
#985F81
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9d45c8;
/* rgb */ color: rgb(157, 69, 200);
/* oklch */ color: oklch(56.3% 0.202 312.6);
Tailwind
colors: {
  custom: {
    50: '#be7fd9',
    500: '#9d45c8',
    950: '#000000',
  },
}
SCSS
$custom: #9d45c8;
$custom-light: #be7fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d45c8",
  "rgb": {
    "r": 157,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 280.305,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56322,
    "c": 0.20226,
    "h": 312.6
  },
  "luminance": 0.15594
}

Semantic roles & 50–950 ramp

primary
#9D45C8
secondary
#ABD198
accent
#DE4A7B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9D45C8

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

Preview Lab → · Contrast checker → · Palette generator →

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