#9052CD#9052CD

#9052CD is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.8% C 0.186 H 304.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9052CD
RGBrgb(144, 82, 205)
HSLhsl(270, 55%, 56%)
HSVhsv(270, 60%, 80%)
CMYKcmyk(29.8%, 60%, 0%, 19.6%)
CIE-LABlab(47.46, 49.10, -54.16)
CIE-LCHlch(47.46, 73.10, 312.20°)
OKLaboklab(56.81% 0.1047 -0.1532)
OKLCHoklch(56.81% 0.186 304.4)
XYZxyz(25.5359, 16.3718, 59.5606)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9052CD #8FCD52
analogous
#5352CD #9052CD #CD52CD
triadic
#9052CD #CD9052 #52CD90
tetradic
#9052CD #CD5352 #8FCD52 #52CDCD
square
#9052CD #CD5352 #8FCD52 #52CDCD
split-complementary
#9052CD #CDCD52 #52CD53
monochromatic
#532580 #7133AF #9052CD #AE81DB #CDB1E8

Accessibility & contrast

On white

4.91
#9052CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9052CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9052CD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9052CD#FFFFFF#000000##FFFFFF
##9052CD1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126FD1
Deuteranopia (green-blind)
#3571CA
Tritanopia (blue-blind)
#856B88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9052cd;
/* rgb */ color: rgb(144, 82, 205);
/* oklch */ color: oklch(56.8% 0.186 304.4);
Tailwind
colors: {
  custom: {
    50: '#b485dd',
    500: '#9052cd',
    950: '#000000',
  },
}
SCSS
$custom: #9052cd;
$custom-light: #b485dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9052cd",
  "rgb": {
    "r": 144,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 270.244,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56808,
    "c": 0.18554,
    "h": 304.4
  },
  "luminance": 0.16372
}

Semantic roles & 50–950 ramp

primary
#9052CD
secondary
#BDD7A4
accent
#DE4993
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9052CD

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

Preview Lab → · Contrast checker → · Palette generator →

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