#9045CF#9045CF

#9045CF is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.206 H 305.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9045CF
RGBrgb(144, 69, 207)
HSLhsl(273, 59%, 54%)
HSVhsv(273, 67%, 81%)
CMYKcmyk(30.4%, 66.7%, 0%, 18.8%)
CIE-LABlab(45.21, 56.06, -58.93)
CIE-LCHlch(45.21, 81.34, 313.57°)
OKLaboklab(55.22% 0.1196 -0.1671)
OKLCHoklch(55.22% 0.206 305.6)
XYZxyz(24.8897, 14.6907, 60.5437)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045CF #84CF45
analogous
#4B45CF #9045CF #CF45C9
triadic
#9045CF #CF9045 #45CF90
tetradic
#9045CF #CF4B45 #84CF45 #45C9CF
square
#9045CF #CF4B45 #84CF45 #45C9CF
split-complementary
#9045CF #C9CF45 #45CF4B
monochromatic
#51207A #712CAB #9045CF #AD76DC #CAA6E8

Accessibility & contrast

On white

5.33
#9045CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9045CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9045CF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045CF#FFFFFF#000000##FFFFFF
##9045CF1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9045cf;
/* rgb */ color: rgb(144, 69, 207);
/* oklch */ color: oklch(55.2% 0.206 305.6);
Tailwind
colors: {
  custom: {
    50: '#b57ede',
    500: '#9045cf',
    950: '#000000',
  },
}
SCSS
$custom: #9045cf;
$custom-light: #b57ede;
$custom-dark: #000000;
JSON
{
  "hex": "#9045cf",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 272.609,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55222,
    "c": 0.20554,
    "h": 305.6
  },
  "luminance": 0.14691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9045CF

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

Preview Lab → · Contrast checker → · Palette generator →

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