#9C45DD#9C45DD

#9C45DD is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.6% C 0.223 H 306.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9C45DD
RGBrgb(156, 69, 221)
HSLhsl(274, 69%, 57%)
HSVhsv(274, 69%, 87%)
CMYKcmyk(29.4%, 68.8%, 0%, 13.3%)
CIE-LABlab(47.68, 61.68, -62.87)
CIE-LCHlch(47.68, 88.07, 314.45°)
OKLaboklab(57.62% 0.1338 -0.1783)
OKLCHoklch(57.62% 0.223 306.9)
XYZxyz(28.8868, 16.5450, 70.0643)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C45DD #86DD45
analogous
#5045DD #9C45DD #DD45D2
triadic
#9C45DD #DD9C45 #45DD9C
tetradic
#9C45DD #DD5045 #86DD45 #45D2DD
square
#9C45DD #DD5045 #86DD45 #45D2DD
split-complementary
#9C45DD #D2DD45 #45DD50
monochromatic
#5C1A8E #7E23C1 #9C45DD #B879E6 #D3ACF0

Accessibility & contrast

On white

4.87
#9C45DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9C45DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C45DD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C45DD#FFFFFF#000000##FFFFFF
##9C45DD1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#1772DA
Tritanopia (blue-blind)
#91678C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9c45dd;
/* rgb */ color: rgb(156, 69, 221);
/* oklch */ color: oklch(57.6% 0.223 306.9);
Tailwind
colors: {
  custom: {
    50: '#be7fe8',
    500: '#9c45dd',
    950: '#000000',
  },
}
SCSS
$custom: #9c45dd;
$custom-light: #be7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c45dd",
  "rgb": {
    "r": 156,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 274.342,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57622,
    "c": 0.22292,
    "h": 306.9
  },
  "luminance": 0.16545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C45DD

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

Preview Lab → · Contrast checker → · Palette generator →

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