#9A45D1#9A45D1

#9A45D1 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.6% C 0.210 H 309.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9A45D1
RGBrgb(154, 69, 209)
HSLhsl(276, 60%, 55%)
HSVhsv(276, 67%, 82%)
CMYKcmyk(26.3%, 67%, 0%, 18%)
CIE-LABlab(46.62, 58.62, -57.74)
CIE-LCHlch(46.62, 82.28, 315.43°)
OKLaboklab(56.55% 0.1325 -0.1633)
OKLCHoklch(56.55% 0.21 309)
XYZxyz(26.9609, 15.7302, 61.9252)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A45D1 #7CD145
analogous
#5445D1 #9A45D1 #D145C2
triadic
#9A45D1 #D19A45 #45D19A
tetradic
#9A45D1 #D15445 #7CD145 #45C2D1
square
#9A45D1 #D15445 #7CD145 #45C2D1
split-complementary
#9A45D1 #C2D145 #45D154
monochromatic
#581F7D #7A2BAE #9A45D1 #B576DD #CFA7E9

Accessibility & contrast

On white

5.07
#9A45D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9A45D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A45D1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A45D1#FFFFFF#000000##FFFFFF
##9A45D11.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#2B70CE
Tritanopia (blue-blind)
#926385
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9a45d1;
/* rgb */ color: rgb(154, 69, 209);
/* oklch */ color: oklch(56.6% 0.210 309.0);
Tailwind
colors: {
  custom: {
    50: '#bc7fe0',
    500: '#9a45d1',
    950: '#000000',
  },
}
SCSS
$custom: #9a45d1;
$custom-light: #bc7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a45d1",
  "rgb": {
    "r": 154,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 276.429,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56551,
    "c": 0.21031,
    "h": 309
  },
  "luminance": 0.1573
}

Semantic roles & 50–950 ramp

primary
#9A45D1
secondary
#B3D79B
accent
#E34483
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A45D1

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

Preview Lab → · Contrast checker → · Palette generator →

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