#9A45D2#9A45D2

#9A45D2 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.211 H 308.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9A45D2
RGBrgb(154, 69, 210)
HSLhsl(276, 61%, 55%)
HSVhsv(276, 67%, 82%)
CMYKcmyk(26.7%, 67.1%, 0%, 17.6%)
CIE-LABlab(46.68, 58.84, -58.21)
CIE-LCHlch(46.68, 82.77, 315.31°)
OKLaboklab(56.62% 0.1324 -0.1647)
OKLCHoklch(56.62% 0.211 308.8)
XYZxyz(27.0851, 15.7799, 62.5793)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A45D2 #7DD245
analogous
#5345D2 #9A45D2 #D245C4
triadic
#9A45D2 #D29A45 #45D29A
tetradic
#9A45D2 #D25345 #7DD245 #45C4D2
square
#9A45D2 #D25345 #7DD245 #45C4D2
split-complementary
#9A45D2 #C4D245 #45D253
monochromatic
#581F7E #7B2AAF #9A45D2 #B576DE #D0A8EA

Accessibility & contrast

On white

5.05
#9A45D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9A45D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A45D2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A45D2#FFFFFF#000000##FFFFFF
##9A45D21.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#2A70CF
Tritanopia (blue-blind)
#926386
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9a45d2;
/* rgb */ color: rgb(154, 69, 210);
/* oklch */ color: oklch(56.6% 0.211 308.8);
Tailwind
colors: {
  custom: {
    50: '#bc7fe1',
    500: '#9a45d2',
    950: '#000000',
  },
}
SCSS
$custom: #9a45d2;
$custom-light: #bc7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a45d2",
  "rgb": {
    "r": 154,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 276.17,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56619,
    "c": 0.21132,
    "h": 308.8
  },
  "luminance": 0.15779
}

Semantic roles & 50–950 ramp

primary
#9A45D2
secondary
#B3D79C
accent
#E44483
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A45D2

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

Preview Lab → · Contrast checker → · Palette generator →

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