#9052BA#9052BA

#9052BA is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.6% C 0.164 H 309.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9052BA
RGBrgb(144, 82, 186)
HSLhsl(276, 43%, 53%)
HSVhsv(276, 56%, 73%)
CMYKcmyk(22.6%, 55.9%, 0%, 27.1%)
CIE-LABlab(46.32, 44.65, -44.98)
CIE-LCHlch(46.32, 63.37, 314.79°)
OKLaboklab(55.61% 0.1045 -0.1263)
OKLCHoklch(55.61% 0.164 309.6)
XYZxyz(23.3801, 15.5095, 48.2068)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9052BA #7CBA52
analogous
#5C52BA #9052BA #BA52B0
triadic
#9052BA #BA9052 #52BA90
tetradic
#9052BA #BA5C52 #7CBA52 #52B0BA
square
#9052BA #BA5C52 #7CBA52 #52B0BA
split-complementary
#9052BA #B0BA52 #52BA5C
monochromatic
#4F2A68 #703B94 #9052BA #AC7ECB #C8AADD

Accessibility & contrast

On white

5.12
#9052BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9052BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9052BA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9052BA#FFFFFF#000000##FFFFFF
##9052BA1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316BBD
Deuteranopia (green-blind)
#476FB7
Tritanopia (blue-blind)
#8A657E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9052ba;
/* rgb */ color: rgb(144, 82, 186);
/* oklch */ color: oklch(55.6% 0.164 309.6);
Tailwind
colors: {
  custom: {
    50: '#b385cf',
    500: '#9052ba',
    950: '#000000',
  },
}
SCSS
$custom: #9052ba;
$custom-light: #b385cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9052ba",
  "rgb": {
    "r": 144,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 275.769,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55614,
    "c": 0.1639,
    "h": 309.6
  },
  "luminance": 0.15509
}

Semantic roles & 50–950 ramp

primary
#9052BA
secondary
#B0CA9D
accent
#D35588
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9052BA

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

Preview Lab → · Contrast checker → · Palette generator →

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