#9D45DE#9D45DE

#9D45DE is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.8% C 0.224 H 307.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9D45DE
RGBrgb(157, 69, 222)
HSLhsl(275, 70%, 57%)
HSVhsv(275, 69%, 87%)
CMYKcmyk(29.3%, 68.9%, 0%, 12.9%)
CIE-LABlab(47.88, 62.10, -63.12)
CIE-LCHlch(47.88, 88.54, 314.54°)
OKLaboklab(57.81% 0.1349 -0.179)
OKLCHoklch(57.81% 0.224 307)
XYZxyz(29.2148, 16.6986, 70.7772)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D45DE #86DE45
analogous
#5145DE #9D45DE #DE45D2
triadic
#9D45DE #DE9D45 #45DE9D
tetradic
#9D45DE #DE5145 #86DE45 #45D2DE
square
#9D45DE #DE5145 #86DE45 #45D2DE
split-complementary
#9D45DE #D2DE45 #45DE51
monochromatic
#5D198F #7F23C3 #9D45DE #B879E7 #D4ADF0

Accessibility & contrast

On white

4.84
#9D45DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9D45DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D45DE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D45DE#FFFFFF#000000##FFFFFF
##9D45DE1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#1772DB
Tritanopia (blue-blind)
#92678D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9d45de;
/* rgb */ color: rgb(157, 69, 222);
/* oklch */ color: oklch(57.8% 0.224 307.0);
Tailwind
colors: {
  custom: {
    50: '#bf7fe9',
    500: '#9d45de',
    950: '#000000',
  },
}
SCSS
$custom: #9d45de;
$custom-light: #bf7fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d45de",
  "rgb": {
    "r": 157,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 274.51,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57811,
    "c": 0.22418,
    "h": 307
  },
  "luminance": 0.16698
}

Semantic roles & 50–950 ramp

primary
#9D45DE
secondary
#BBDFA0
accent
#ED3B87
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D45DE

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

Preview Lab → · Contrast checker → · Palette generator →

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