#9D45DD#9D45DD

#9D45DD is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.7% C 0.223 H 307.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9D45DD
RGBrgb(157, 69, 221)
HSLhsl(275, 69%, 57%)
HSVhsv(275, 69%, 87%)
CMYKcmyk(29%, 68.8%, 0%, 13.3%)
CIE-LABlab(47.81, 61.88, -62.66)
CIE-LCHlch(47.81, 88.06, 314.64°)
OKLaboklab(57.74% 0.1351 -0.1777)
OKLCHoklch(57.74% 0.223 307.2)
XYZxyz(29.0811, 16.6452, 70.0734)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D45DD #85DD45
analogous
#5145DD #9D45DD #DD45D1
triadic
#9D45DD #DD9D45 #45DD9D
tetradic
#9D45DD #DD5145 #85DD45 #45D1DD
square
#9D45DD #DD5145 #85DD45 #45D1DD
split-complementary
#9D45DD #D1DD45 #45DD51
monochromatic
#5D1A8E #7F23C1 #9D45DD #B879E6 #D4ACF0

Accessibility & contrast

On white

4.85
#9D45DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9D45DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D45DD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D45DD#FFFFFF#000000##FFFFFF
##9D45DD1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#1A72DA
Tritanopia (blue-blind)
#92678C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9d45dd;
/* rgb */ color: rgb(157, 69, 221);
/* oklch */ color: oklch(57.7% 0.223 307.2);
Tailwind
colors: {
  custom: {
    50: '#bf7fe8',
    500: '#9d45dd',
    950: '#000000',
  },
}
SCSS
$custom: #9d45dd;
$custom-light: #bf7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d45dd",
  "rgb": {
    "r": 157,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 274.737,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57741,
    "c": 0.22318,
    "h": 307.2
  },
  "luminance": 0.16645
}

Semantic roles & 50–950 ramp

primary
#9D45DD
secondary
#BADEA0
accent
#EC3C86
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D45DD

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

Preview Lab → · Contrast checker → · Palette generator →

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