#9052DD#9052DD

#9052DD is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.9% C 0.204 H 300.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9052DD
RGBrgb(144, 82, 221)
HSLhsl(267, 67%, 59%)
HSVhsv(267, 63%, 87%)
CMYKcmyk(34.8%, 62.9%, 0%, 13.3%)
CIE-LABlab(48.49, 52.99, -61.63)
CIE-LCHlch(48.49, 81.28, 310.69°)
OKLaboklab(57.89% 0.104 -0.1751)
OKLCHoklch(57.89% 0.204 300.7)
XYZxyz(27.5669, 17.1842, 70.2571)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9052DD #9FDD52
analogous
#5259DD #9052DD #D652DD
triadic
#9052DD #DD9052 #52DD90
tetradic
#9052DD #DD5259 #9FDD52 #52DDD6
square
#9052DD #DD5259 #9FDD52 #52DDD6
split-complementary
#9052DD #DDD652 #59DD52
monochromatic
#541E97 #7028CA #9052DD #B185E7 #D2B8F1

Accessibility & contrast

On white

4.73
#9052DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9052DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9052DD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9052DD#FFFFFF#000000##FFFFFF
##9052DD1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#1A72DA
Tritanopia (blue-blind)
#807090
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9052dd;
/* rgb */ color: rgb(144, 82, 221);
/* oklch */ color: oklch(57.9% 0.204 300.7);
Tailwind
colors: {
  custom: {
    50: '#b586e8',
    500: '#9052dd',
    950: '#000000',
  },
}
SCSS
$custom: #9052dd;
$custom-light: #b586e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9052dd",
  "rgb": {
    "r": 144,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 266.763,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57887,
    "c": 0.20367,
    "h": 300.7
  },
  "luminance": 0.17184
}

Semantic roles & 50–950 ramp

primary
#9052DD
secondary
#C8E0AA
accent
#EA3E9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9052DD

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

Preview Lab → · Contrast checker → · Palette generator →

#9052DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva