#9045C8#9045C8

#9045C8 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.7% C 0.198 H 307.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9045C8
RGBrgb(144, 69, 200)
HSLhsl(274, 54%, 53%)
HSVhsv(274, 66%, 78%)
CMYKcmyk(28%, 65.5%, 0%, 21.6%)
CIE-LABlab(44.74, 54.45, -55.65)
CIE-LCHlch(44.74, 77.86, 314.38°)
OKLaboklab(54.74% 0.1203 -0.1575)
OKLCHoklch(54.74% 0.198 307.4)
XYZxyz(24.0529, 14.3560, 56.1362)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045C8 #7DC845
analogous
#4E45C8 #9045C8 #C845BF
triadic
#9045C8 #C89045 #45C890
tetradic
#9045C8 #C84E45 #7DC845 #45BFC8
square
#9045C8 #C84E45 #7DC845 #45BFC8
split-complementary
#9045C8 #BFC845 #45C84E
monochromatic
#4F2171 #702FA0 #9045C8 #AC74D6 #C8A3E4

Accessibility & contrast

On white

5.42
#9045C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9045C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9045C8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045C8#FFFFFF#000000##FFFFFF
##9045C81.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#296AC5
Tritanopia (blue-blind)
#876181
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9045c8;
/* rgb */ color: rgb(144, 69, 200);
/* oklch */ color: oklch(54.7% 0.198 307.4);
Tailwind
colors: {
  custom: {
    50: '#b57ed9',
    500: '#9045c8',
    950: '#000000',
  },
}
SCSS
$custom: #9045c8;
$custom-light: #b57ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#9045c8",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 274.351,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54737,
    "c": 0.19816,
    "h": 307.4
  },
  "luminance": 0.14356
}

Semantic roles & 50–950 ramp

primary
#9045C8
secondary
#B0D198
accent
#DE4A89
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9045C8

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

Preview Lab → · Contrast checker → · Palette generator →

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