#9045D5#9045D5

#9045D5 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.6% C 0.212 H 304.2°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9045D5
RGBrgb(144, 69, 213)
HSLhsl(271, 63%, 55%)
HSVhsv(271, 68%, 84%)
CMYKcmyk(32.4%, 67.6%, 0%, 16.5%)
CIE-LABlab(45.62, 57.45, -61.71)
CIE-LCHlch(45.62, 84.32, 312.95°)
OKLaboklab(55.65% 0.1189 -0.1753)
OKLCHoklch(55.65% 0.212 304.2)
XYZxyz(25.6372, 14.9897, 64.4806)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045D5 #8AD545
analogous
#4845D5 #9045D5 #D545D2
triadic
#9045D5 #D59045 #45D590
tetradic
#9045D5 #D54845 #8AD545 #45D2D5
square
#9045D5 #D54845 #8AD545 #45D2D5
split-complementary
#9045D5 #D2D545 #45D548
monochromatic
#521D82 #7129B4 #9045D5 #AE77E0 #CCA9EC

Accessibility & contrast

On white

5.25
#9045D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9045D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9045D5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045D5#FFFFFF#000000##FFFFFF
##9045D51.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD9
Deuteranopia (green-blind)
#076CD2
Tritanopia (blue-blind)
#836688
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9045d5;
/* rgb */ color: rgb(144, 69, 213);
/* oklch */ color: oklch(55.6% 0.212 304.2);
Tailwind
colors: {
  custom: {
    50: '#b67ee3',
    500: '#9045d5',
    950: '#000000',
  },
}
SCSS
$custom: #9045d5;
$custom-light: #b67ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#9045d5",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 271.25,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55648,
    "c": 0.21185,
    "h": 304.2
  },
  "luminance": 0.1499
}

Semantic roles & 50–950 ramp

primary
#9045D5
secondary
#BAD99D
accent
#E64290
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A15
muted
#817C84

Preview Lab

Preview with #9045D5

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

Preview Lab → · Contrast checker → · Palette generator →

#9045D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva