#9045D2#9045D2

#9045D2 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.4% C 0.209 H 304.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9045D2
RGBrgb(144, 69, 210)
HSLhsl(272, 61%, 55%)
HSVhsv(272, 67%, 82%)
CMYKcmyk(31.4%, 67.1%, 0%, 17.6%)
CIE-LABlab(45.41, 56.76, -60.33)
CIE-LCHlch(45.41, 82.83, 313.25°)
OKLaboklab(55.43% 0.1193 -0.1713)
OKLCHoklch(55.43% 0.209 304.9)
XYZxyz(25.2600, 14.8388, 62.4937)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045D2 #87D245
analogous
#4A45D2 #9045D2 #D245CD
triadic
#9045D2 #D29045 #45D290
tetradic
#9045D2 #D24A45 #87D245 #45CDD2
square
#9045D2 #D24A45 #87D245 #45CDD2
split-complementary
#9045D2 #CDD245 #45D24A
monochromatic
#511F7E #712AAF #9045D2 #AD76DE #CBA8EA

Accessibility & contrast

On white

5.29
#9045D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9045D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9045D2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045D2#FFFFFF#000000##FFFFFF
##9045D21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#136CCF
Tritanopia (blue-blind)
#846486
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9045d2;
/* rgb */ color: rgb(144, 69, 210);
/* oklch */ color: oklch(55.4% 0.209 304.9);
Tailwind
colors: {
  custom: {
    50: '#b57ee1',
    500: '#9045d2',
    950: '#000000',
  },
}
SCSS
$custom: #9045d2;
$custom-light: #b57ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#9045d2",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 271.915,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55434,
    "c": 0.2087,
    "h": 304.9
  },
  "luminance": 0.14839
}

Semantic roles & 50–950 ramp

primary
#9045D2
secondary
#B8D79C
accent
#E4448F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9045D2

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

Preview Lab → · Contrast checker → · Palette generator →

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