#9045C7#9045C7

#9045C7 is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.7% C 0.197 H 307.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9045C7
RGBrgb(144, 69, 199)
HSLhsl(275, 54%, 53%)
HSVhsv(275, 65%, 78%)
CMYKcmyk(27.6%, 65.3%, 0%, 22%)
CIE-LABlab(44.67, 54.23, -55.17)
CIE-LCHlch(44.67, 77.36, 314.50°)
OKLaboklab(54.67% 0.1203 -0.1561)
OKLCHoklch(54.67% 0.197 307.6)
XYZxyz(23.9364, 14.3094, 55.5228)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045C7 #7CC745
analogous
#4F45C7 #9045C7 #C745BD
triadic
#9045C7 #C79045 #45C790
tetradic
#9045C7 #C74F45 #7CC745 #45BDC7
square
#9045C7 #C74F45 #7CC745 #45BDC7
split-complementary
#9045C7 #BDC745 #45C74F
monochromatic
#4F2270 #70309F #9045C7 #AC74D5 #C8A3E3

Accessibility & contrast

On white

5.44
#9045C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9045C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9045C7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045C7#FFFFFF#000000##FFFFFF
##9045C71.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#2A6AC4
Tritanopia (blue-blind)
#876080
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9045c7;
/* rgb */ color: rgb(144, 69, 199);
/* oklch */ color: oklch(54.7% 0.197 307.6);
Tailwind
colors: {
  custom: {
    50: '#b57dd9',
    500: '#9045c7',
    950: '#000000',
  },
}
SCSS
$custom: #9045c7;
$custom-light: #b57dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9045c7",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 274.615,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54668,
    "c": 0.19711,
    "h": 307.6
  },
  "luminance": 0.14309
}

Semantic roles & 50–950 ramp

primary
#9045C7
secondary
#B0D098
accent
#DD4B89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #9045C7

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

Preview Lab → · Contrast checker → · Palette generator →

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