#9052BC#9052BC

#9052BC is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.7% C 0.166 H 309.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9052BC
RGBrgb(144, 82, 188)
HSLhsl(275, 44%, 53%)
HSVhsv(275, 56%, 74%)
CMYKcmyk(23.4%, 56.4%, 0%, 26.3%)
CIE-LABlab(46.44, 45.11, -45.96)
CIE-LCHlch(46.44, 64.40, 314.46°)
OKLaboklab(55.74% 0.1046 -0.1292)
OKLCHoklch(55.74% 0.166 309)
XYZxyz(23.5942, 15.5951, 49.3344)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9052BC #7EBC52
analogous
#5B52BC #9052BC #BC52B3
triadic
#9052BC #BC9052 #52BC90
tetradic
#9052BC #BC5B52 #7EBC52 #52B3BC
square
#9052BC #BC5B52 #7EBC52 #52B3BC
split-complementary
#9052BC #B3BC52 #52BC5B
monochromatic
#4F296A #703A97 #9052BC #AC7ECD #C9AADE

Accessibility & contrast

On white

5.10
#9052BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9052BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9052BC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9052BC#FFFFFF#000000##FFFFFF
##9052BC1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BBF
Deuteranopia (green-blind)
#466FB9
Tritanopia (blue-blind)
#8A657F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9052bc;
/* rgb */ color: rgb(144, 82, 188);
/* oklch */ color: oklch(55.7% 0.166 309.0);
Tailwind
colors: {
  custom: {
    50: '#b385d1',
    500: '#9052bc',
    950: '#000000',
  },
}
SCSS
$custom: #9052bc;
$custom-light: #b385d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9052bc",
  "rgb": {
    "r": 144,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 275.094,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55735,
    "c": 0.16618,
    "h": 309
  },
  "luminance": 0.15595
}

Semantic roles & 50–950 ramp

primary
#9052BC
secondary
#B1CC9E
accent
#D45489
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9052BC

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

Preview Lab → · Contrast checker → · Palette generator →

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