#9052CB#9052CB

#9052CB is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.7% C 0.183 H 304.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9052CB
RGBrgb(144, 82, 203)
HSLhsl(271, 54%, 56%)
HSVhsv(271, 60%, 80%)
CMYKcmyk(29.1%, 59.6%, 0%, 20.4%)
CIE-LABlab(47.33, 48.63, -53.21)
CIE-LCHlch(47.33, 72.08, 312.43°)
OKLaboklab(56.68% 0.1048 -0.1504)
OKLCHoklch(56.68% 0.183 304.9)
XYZxyz(25.2960, 16.2758, 58.2972)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9052CB #8DCB52
analogous
#5352CB #9052CB #CB52C9
triadic
#9052CB #CB9052 #52CB90
tetradic
#9052CB #CB5352 #8DCB52 #52C9CB
square
#9052CB #CB5352 #8DCB52 #52C9CB
split-complementary
#9052CB #C9CB52 #52CB53
monochromatic
#52267D #7134AC #9052CB #AE81D9 #CCB0E7

Accessibility & contrast

On white

4.94
#9052CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9052CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9052CB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9052CB#FFFFFF#000000##FFFFFF
##9052CB1.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186FCF
Deuteranopia (green-blind)
#3870C8
Tritanopia (blue-blind)
#866A87
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9052cb;
/* rgb */ color: rgb(144, 82, 203);
/* oklch */ color: oklch(56.7% 0.183 304.9);
Tailwind
colors: {
  custom: {
    50: '#b485db',
    500: '#9052cb',
    950: '#000000',
  },
}
SCSS
$custom: #9052cb;
$custom-light: #b485db;
$custom-dark: #000000;
JSON
{
  "hex": "#9052cb",
  "rgb": {
    "r": 144,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 270.744,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56678,
    "c": 0.18327,
    "h": 304.9
  },
  "luminance": 0.16276
}

Semantic roles & 50–950 ramp

primary
#9052CB
secondary
#BCD5A3
accent
#DD4B92
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9052CB

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

Preview Lab → · Contrast checker → · Palette generator →

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