#9D45D7#9D45D7

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

Color values

HEX#9D45D7
RGBrgb(157, 69, 215)
HSLhsl(276, 65%, 56%)
HSVhsv(276, 68%, 84%)
CMYKcmyk(27%, 67.9%, 0%, 15.7%)
CIE-LABlab(47.41, 60.56, -59.89)
CIE-LCHlch(47.41, 85.17, 315.32°)
OKLaboklab(57.32% 0.1358 -0.1695)
OKLCHoklch(57.32% 0.217 308.7)
XYZxyz(28.2960, 16.3311, 65.9384)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D45D7 #7FD745
analogous
#5445D7 #9D45D7 #D745C8
triadic
#9D45D7 #D79D45 #45D79D
tetradic
#9D45D7 #D75445 #7FD745 #45C8D7
square
#9D45D7 #D75445 #7FD745 #45C8D7
split-complementary
#9D45D7 #C8D745 #45D754
monochromatic
#5C1D85 #7E27B7 #9D45D7 #B877E2 #D2AAED

Accessibility & contrast

On white

4.92
#9D45D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9D45D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D45D7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D45D7#FFFFFF#000000##FFFFFF
##9D45D71.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#2771D4
Tritanopia (blue-blind)
#946589
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9d45d7;
/* rgb */ color: rgb(157, 69, 215);
/* oklch */ color: oklch(57.3% 0.217 308.7);
Tailwind
colors: {
  custom: {
    50: '#be7fe4',
    500: '#9d45d7',
    950: '#000000',
  },
}
SCSS
$custom: #9d45d7;
$custom-light: #be7fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d45d7",
  "rgb": {
    "r": 157,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 276.164,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57324,
    "c": 0.21719,
    "h": 308.7
  },
  "luminance": 0.16331
}

Semantic roles & 50–950 ramp

primary
#9D45D7
secondary
#B6DA9E
accent
#E84083
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D45D7

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

Preview Lab → · Contrast checker → · Palette generator →

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