#9045CC#9045CC

#9045CC is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.0% C 0.202 H 306.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9045CC
RGBrgb(144, 69, 204)
HSLhsl(273, 57%, 54%)
HSVhsv(273, 66%, 80%)
CMYKcmyk(29.4%, 66.2%, 0%, 20%)
CIE-LABlab(45.01, 55.37, -57.53)
CIE-LCHlch(45.01, 79.85, 313.90°)
OKLaboklab(55.01% 0.1199 -0.163)
OKLCHoklch(55.01% 0.202 306.3)
XYZxyz(24.5265, 14.5454, 58.6305)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045CC #81CC45
analogous
#4C45CC #9045CC #CC45C5
triadic
#9045CC #CC9045 #45CC90
tetradic
#9045CC #CC4C45 #81CC45 #45C5CC
square
#9045CC #CC4C45 #81CC45 #45C5CC
split-complementary
#9045CC #C5CC45 #45CC4C
monochromatic
#502076 #712EA6 #9045CC #AD75D9 #C9A5E6

Accessibility & contrast

On white

5.37
#9045CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9045CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9045CC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045CC#FFFFFF#000000##FFFFFF
##9045CC1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#226BC9
Tritanopia (blue-blind)
#866283
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9045cc;
/* rgb */ color: rgb(144, 69, 204);
/* oklch */ color: oklch(55.0% 0.202 306.3);
Tailwind
colors: {
  custom: {
    50: '#b57edc',
    500: '#9045cc',
    950: '#000000',
  },
}
SCSS
$custom: #9045cc;
$custom-light: #b57edc;
$custom-dark: #000000;
JSON
{
  "hex": "#9045cc",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 273.333,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55013,
    "c": 0.20238,
    "h": 306.3
  },
  "luminance": 0.14545
}

Semantic roles & 50–950 ramp

primary
#9045CC
secondary
#B3D399
accent
#E0488B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9045CC

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

Preview Lab → · Contrast checker → · Palette generator →

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