#9C45DE#9C45DE

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

Color values

HEX#9C45DE
RGBrgb(156, 69, 222)
HSLhsl(274, 70%, 57%)
HSVhsv(274, 69%, 87%)
CMYKcmyk(29.7%, 68.9%, 0%, 12.9%)
CIE-LABlab(47.75, 61.90, -63.33)
CIE-LCHlch(47.75, 88.56, 314.35°)
OKLaboklab(57.69% 0.1336 -0.1797)
OKLCHoklch(57.69% 0.224 306.6)
XYZxyz(29.0204, 16.5984, 70.7681)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C45DE #87DE45
analogous
#5045DE #9C45DE #DE45D3
triadic
#9C45DE #DE9C45 #45DE9C
tetradic
#9C45DE #DE5045 #87DE45 #45D3DE
square
#9C45DE #DE5045 #87DE45 #45D3DE
split-complementary
#9C45DE #D3DE45 #45DE50
monochromatic
#5C198F #7E23C3 #9C45DE #B879E7 #D3ADF0

Accessibility & contrast

On white

4.86
#9C45DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9C45DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C45DE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C45DE#FFFFFF#000000##FFFFFF
##9C45DE1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE2
Deuteranopia (green-blind)
#1472DB
Tritanopia (blue-blind)
#91688D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9c45de;
/* rgb */ color: rgb(156, 69, 222);
/* oklch */ color: oklch(57.7% 0.224 306.6);
Tailwind
colors: {
  custom: {
    50: '#be7fe9',
    500: '#9c45de',
    950: '#000000',
  },
}
SCSS
$custom: #9c45de;
$custom-light: #be7fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c45de",
  "rgb": {
    "r": 156,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 274.118,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57692,
    "c": 0.22392,
    "h": 306.6
  },
  "luminance": 0.16598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C45DE

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

Preview Lab → · Contrast checker → · Palette generator →

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