#9A45CE#9A45CE

#9A45CE is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.207 H 309.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9A45CE
RGBrgb(154, 69, 206)
HSLhsl(277, 58%, 54%)
HSVhsv(277, 67%, 81%)
CMYKcmyk(25.2%, 66.5%, 0%, 19.2%)
CIE-LABlab(46.42, 57.96, -56.33)
CIE-LCHlch(46.42, 80.83, 315.82°)
OKLaboklab(56.35% 0.1328 -0.1592)
OKLCHoklch(56.35% 0.207 309.8)
XYZxyz(26.5929, 15.5830, 59.9875)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A45CE #79CE45
analogous
#5645CE #9A45CE #CE45BE
triadic
#9A45CE #CE9A45 #45CE9A
tetradic
#9A45CE #CE5645 #79CE45 #45BECE
square
#9A45CE #CE5645 #79CE45 #45BECE
split-complementary
#9A45CE #BECE45 #45CE56
monochromatic
#572079 #7A2DA9 #9A45CE #B475DB #CFA6E8

Accessibility & contrast

On white

5.10
#9A45CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9A45CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A45CE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A45CE#FFFFFF#000000##FFFFFF
##9A45CE1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#306FCB
Tritanopia (blue-blind)
#936284
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9a45ce;
/* rgb */ color: rgb(154, 69, 206);
/* oklch */ color: oklch(56.3% 0.207 309.8);
Tailwind
colors: {
  custom: {
    50: '#bc7fde',
    500: '#9a45ce',
    950: '#000000',
  },
}
SCSS
$custom: #9a45ce;
$custom-light: #bc7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9a45ce",
  "rgb": {
    "r": 154,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 277.226,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56348,
    "c": 0.20728,
    "h": 309.8
  },
  "luminance": 0.15582
}

Semantic roles & 50–950 ramp

primary
#9A45CE
secondary
#B0D59A
accent
#E24681
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9A45CE

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

Preview Lab → · Contrast checker → · Palette generator →

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