#9045C2#9045C2

#9045C2 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.3% C 0.192 H 309.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#9045C2
RGBrgb(144, 69, 194)
HSLhsl(276, 51%, 52%)
HSVhsv(276, 64%, 76%)
CMYKcmyk(25.8%, 64.4%, 0%, 23.9%)
CIE-LABlab(44.35, 53.09, -52.80)
CIE-LCHlch(44.35, 74.88, 315.16°)
OKLaboklab(54.33% 0.1207 -0.1491)
OKLCHoklch(54.33% 0.192 309)
XYZxyz(23.3654, 14.0810, 52.5155)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045C2 #77C245
analogous
#5245C2 #9045C2 #C245B6
triadic
#9045C2 #C29045 #45C290
tetradic
#9045C2 #C25245 #77C245 #45B6C2
square
#9045C2 #C25245 #77C245 #45B6C2
split-complementary
#9045C2 #B6C245 #45C252
monochromatic
#4D236A #6F3298 #9045C2 #AC73D1 #C7A1E0

Accessibility & contrast

On white

5.50
#9045C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9045C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9045C2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045C2#FFFFFF#000000##FFFFFF
##9045C21.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#316ABF
Tritanopia (blue-blind)
#895E7D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9045c2;
/* rgb */ color: rgb(144, 69, 194);
/* oklch */ color: oklch(54.3% 0.192 309.0);
Tailwind
colors: {
  custom: {
    50: '#b47dd5',
    500: '#9045c2',
    950: '#000000',
  },
}
SCSS
$custom: #9045c2;
$custom-light: #b47dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#9045c2",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 276,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54331,
    "c": 0.19184,
    "h": 309
  },
  "luminance": 0.14081
}

Semantic roles & 50–950 ramp

primary
#9045C2
secondary
#ACCD96
accent
#DA4E86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83

Preview Lab

Preview with #9045C2

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

Preview Lab → · Contrast checker → · Palette generator →

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