#9045CD#9045CD

#9045CD is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.1% C 0.203 H 306.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9045CD
RGBrgb(144, 69, 205)
HSLhsl(273, 58%, 54%)
HSVhsv(273, 66%, 80%)
CMYKcmyk(29.8%, 66.3%, 0%, 19.6%)
CIE-LABlab(45.07, 55.60, -58.00)
CIE-LCHlch(45.07, 80.34, 313.79°)
OKLaboklab(55.08% 0.1198 -0.1644)
OKLCHoklch(55.08% 0.203 306.1)
XYZxyz(24.6468, 14.5935, 59.2642)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045CD #82CD45
analogous
#4C45CD #9045CD #CD45C6
triadic
#9045CD #CD9045 #45CD90
tetradic
#9045CD #CD4C45 #82CD45 #45C6CD
square
#9045CD #CD4C45 #82CD45 #45C6CD
split-complementary
#9045CD #C6CD45 #45CD4C
monochromatic
#502077 #712DA8 #9045CD #AD75DA #CAA5E7

Accessibility & contrast

On white

5.36
#9045CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9045CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9045CD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045CD#FFFFFF#000000##FFFFFF
##9045CD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#206BCA
Tritanopia (blue-blind)
#856383
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9045cd;
/* rgb */ color: rgb(144, 69, 205);
/* oklch */ color: oklch(55.1% 0.203 306.1);
Tailwind
colors: {
  custom: {
    50: '#b57edd',
    500: '#9045cd',
    950: '#000000',
  },
}
SCSS
$custom: #9045cd;
$custom-light: #b57edd;
$custom-dark: #000000;
JSON
{
  "hex": "#9045cd",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 273.088,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55082,
    "c": 0.20344,
    "h": 306.1
  },
  "luminance": 0.14593
}

Semantic roles & 50–950 ramp

primary
#9045CD
secondary
#B4D49A
accent
#E1478C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9045CD

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

Preview Lab → · Contrast checker → · Palette generator →

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