#9052CA#9052CA

#9052CA is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.6% C 0.182 H 305.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9052CA
RGBrgb(144, 82, 202)
HSLhsl(271, 53%, 56%)
HSVhsv(271, 59%, 79%)
CMYKcmyk(28.7%, 59.4%, 0%, 20.8%)
CIE-LABlab(47.27, 48.39, -52.73)
CIE-LCHlch(47.27, 71.57, 312.54°)
OKLaboklab(56.61% 0.1048 -0.149)
OKLCHoklch(56.61% 0.182 305.1)
XYZxyz(25.1772, 16.2283, 57.6717)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9052CA #8CCA52
analogous
#5452CA #9052CA #CA52C8
triadic
#9052CA #CA9052 #52CA90
tetradic
#9052CA #CA5452 #8CCA52 #52C8CA
square
#9052CA #CA5452 #8CCA52 #52C8CA
split-complementary
#9052CA #C8CA52 #52CA54
monochromatic
#52267C #7134AB #9052CA #AE81D8 #CCB0E7

Accessibility & contrast

On white

4.95
#9052CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9052CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9052CA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9052CA#FFFFFF#000000##FFFFFF
##9052CA1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6ECE
Deuteranopia (green-blind)
#3970C7
Tritanopia (blue-blind)
#866A86
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9052ca;
/* rgb */ color: rgb(144, 82, 202);
/* oklch */ color: oklch(56.6% 0.182 305.1);
Tailwind
colors: {
  custom: {
    50: '#b485db',
    500: '#9052ca',
    950: '#000000',
  },
}
SCSS
$custom: #9052ca;
$custom-light: #b485db;
$custom-dark: #000000;
JSON
{
  "hex": "#9052ca",
  "rgb": {
    "r": 144,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 271,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56613,
    "c": 0.18213,
    "h": 305.1
  },
  "luminance": 0.16228
}

Semantic roles & 50–950 ramp

primary
#9052CA
secondary
#BBD5A3
accent
#DD4B91
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9052CA

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

Preview Lab → · Contrast checker → · Palette generator →

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