#9045CE#9045CE

#9045CE is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.2% C 0.204 H 305.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9045CE
RGBrgb(144, 69, 206)
HSLhsl(273, 58%, 54%)
HSVhsv(273, 67%, 81%)
CMYKcmyk(30.1%, 66.5%, 0%, 19.2%)
CIE-LABlab(45.14, 55.83, -58.47)
CIE-LCHlch(45.14, 80.84, 313.68°)
OKLaboklab(55.15% 0.1197 -0.1658)
OKLCHoklch(55.15% 0.204 305.8)
XYZxyz(24.7679, 14.6420, 59.9019)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045CE #83CE45
analogous
#4C45CE #9045CE #CE45C8
triadic
#9045CE #CE9045 #45CE90
tetradic
#9045CE #CE4C45 #83CE45 #45C8CE
square
#9045CE #CE4C45 #83CE45 #45C8CE
split-complementary
#9045CE #C8CE45 #45CE4C
monochromatic
#512079 #712DA9 #9045CE #AD75DB #CAA6E8

Accessibility & contrast

On white

5.35
#9045CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9045CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9045CE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045CE#FFFFFF#000000##FFFFFF
##9045CE1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#1E6BCB
Tritanopia (blue-blind)
#856384
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9045ce;
/* rgb */ color: rgb(144, 69, 206);
/* oklch */ color: oklch(55.2% 0.204 305.8);
Tailwind
colors: {
  custom: {
    50: '#b57ede',
    500: '#9045ce',
    950: '#000000',
  },
}
SCSS
$custom: #9045ce;
$custom-light: #b57ede;
$custom-dark: #000000;
JSON
{
  "hex": "#9045ce",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 272.847,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55152,
    "c": 0.20449,
    "h": 305.8
  },
  "luminance": 0.14642
}

Semantic roles & 50–950 ramp

primary
#9045CE
secondary
#B5D59A
accent
#E2468D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9045CE

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

Preview Lab → · Contrast checker → · Palette generator →

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