#9045AF#9045AF

#9045AF is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.1% C 0.172 H 314.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9045AF
RGBrgb(144, 69, 175)
HSLhsl(282, 43%, 48%)
HSVhsv(282, 61%, 69%)
CMYKcmyk(17.7%, 60.6%, 0%, 31.4%)
CIE-LABlab(43.18, 48.91, -43.53)
CIE-LCHlch(43.18, 65.48, 318.33°)
OKLaboklab(53.11% 0.1211 -0.122)
OKLCHoklch(53.11% 0.172 314.8)
XYZxyz(21.3663, 13.2814, 41.9872)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9045AF #64AF45
analogous
#5B45AF #9045AF #AF4599
triadic
#9045AF #AF9045 #45AF90
tetradic
#9045AF #AF5B45 #64AF45 #4599AF
square
#9045AF #AF5B45 #64AF45 #4599AF
split-complementary
#9045AF #99AF45 #45AF5B
monochromatic
#482257 #6C3483 #9045AF #AB6CC5 #C498D6

Accessibility & contrast

On white

5.74
#9045AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9045AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9045AF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9045AF#FFFFFF#000000##FFFFFF
##9045AF1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2462B2
Deuteranopia (green-blind)
#4368AC
Tritanopia (blue-blind)
#8E5873
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9045af;
/* rgb */ color: rgb(144, 69, 175);
/* oklch */ color: oklch(53.1% 0.172 314.8);
Tailwind
colors: {
  custom: {
    50: '#b37dc7',
    500: '#9045af',
    950: '#000000',
  },
}
SCSS
$custom: #9045af;
$custom-light: #b37dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9045af",
  "rgb": {
    "r": 144,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 282.453,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53114,
    "c": 0.1719,
    "h": 314.8
  },
  "luminance": 0.13281
}

Semantic roles & 50–950 ramp

primary
#9045AF
secondary
#9DC28D
accent
#D3557A
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #9045AF

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

Preview Lab → · Contrast checker → · Palette generator →

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