#9045CA#9045CA

#9045CA is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.9% C 0.200 H 306.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9045CA
RGBrgb(144, 69, 202)
HSLhsl(274, 56%, 53%)
HSVhsv(274, 66%, 79%)
CMYKcmyk(28.7%, 65.8%, 0%, 20.8%)
CIE-LABlab(44.87, 54.91, -56.59)
CIE-LCHlch(44.87, 78.85, 314.14°)
OKLaboklab(54.87% 0.1201 -0.1603)
OKLCHoklch(54.87% 0.2 306.8)
XYZxyz(24.2881, 14.4501, 57.3753)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045CA #7FCA45
analogous
#4D45CA #9045CA #CA45C1
triadic
#9045CA #CA9045 #45CA90
tetradic
#9045CA #CA4D45 #7FCA45 #45C1CA
square
#9045CA #CA4D45 #7FCA45 #45C1CA
split-complementary
#9045CA #C1CA45 #45CA4D
monochromatic
#502174 #702FA3 #9045CA #AC75D8 #C9A4E5

Accessibility & contrast

On white

5.40
#9045CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9045CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9045CA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045CA#FFFFFF#000000##FFFFFF
##9045CA1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#266BC7
Tritanopia (blue-blind)
#866182
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9045ca;
/* rgb */ color: rgb(144, 69, 202);
/* oklch */ color: oklch(54.9% 0.200 306.8);
Tailwind
colors: {
  custom: {
    50: '#b57edb',
    500: '#9045ca',
    950: '#000000',
  },
}
SCSS
$custom: #9045ca;
$custom-light: #b57edb;
$custom-dark: #000000;
JSON
{
  "hex": "#9045ca",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 273.835,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54874,
    "c": 0.20027,
    "h": 306.8
  },
  "luminance": 0.1445
}

Semantic roles & 50–950 ramp

primary
#9045CA
secondary
#B2D299
accent
#DF498A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9045CA

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

Preview Lab → · Contrast checker → · Palette generator →

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