#9A45CD#9A45CD

#9A45CD is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.206 H 310.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9A45CD
RGBrgb(154, 69, 205)
HSLhsl(278, 58%, 54%)
HSVhsv(278, 66%, 80%)
CMYKcmyk(24.9%, 66.3%, 0%, 19.6%)
CIE-LABlab(46.36, 57.74, -55.86)
CIE-LCHlch(46.36, 80.34, 315.95°)
OKLaboklab(56.28% 0.1328 -0.1578)
OKLCHoklch(56.28% 0.206 310.1)
XYZxyz(26.4719, 15.5346, 59.3497)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A45CD #78CD45
analogous
#5645CD #9A45CD #CD45BC
triadic
#9A45CD #CD9A45 #45CD9A
tetradic
#9A45CD #CD5645 #78CD45 #45BCCD
square
#9A45CD #CD5645 #78CD45 #45BCCD
split-complementary
#9A45CD #BCCD45 #45CD56
monochromatic
#572077 #7A2DA8 #9A45CD #B475DA #CEA5E7

Accessibility & contrast

On white

5.11
#9A45CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9A45CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A45CD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A45CD#FFFFFF#000000##FFFFFF
##9A45CD1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#316FCA
Tritanopia (blue-blind)
#936183
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9a45cd;
/* rgb */ color: rgb(154, 69, 205);
/* oklch */ color: oklch(56.3% 0.206 310.1);
Tailwind
colors: {
  custom: {
    50: '#bc7edd',
    500: '#9a45cd',
    950: '#000000',
  },
}
SCSS
$custom: #9a45cd;
$custom-light: #bc7edd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a45cd",
  "rgb": {
    "r": 154,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 277.5,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56281,
    "c": 0.20627,
    "h": 310.1
  },
  "luminance": 0.15534
}

Semantic roles & 50–950 ramp

primary
#9A45CD
secondary
#B0D49A
accent
#E14781
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A45CD

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

Preview Lab → · Contrast checker → · Palette generator →

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