#9152BC#9152BC

#9152BC is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.9% C 0.167 H 309.5°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9152BC
RGBrgb(145, 82, 188)
HSLhsl(276, 44%, 53%)
HSVhsv(276, 56%, 74%)
CMYKcmyk(22.9%, 56.4%, 0%, 26.3%)
CIE-LABlab(46.56, 45.36, -45.76)
CIE-LCHlch(46.56, 64.43, 314.75°)
OKLaboklab(55.85% 0.1059 -0.1285)
OKLCHoklch(55.85% 0.167 309.5)
XYZxyz(23.7697, 15.6856, 49.3426)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9152BC #7DBC52
analogous
#5C52BC #9152BC #BC52B2
triadic
#9152BC #BC9152 #52BC91
tetradic
#9152BC #BC5C52 #7DBC52 #52B2BC
square
#9152BC #BC5C52 #7DBC52 #52B2BC
split-complementary
#9152BC #B2BC52 #52BC5C
monochromatic
#50296A #713A97 #9152BC #AD7ECD #C9AADE

Accessibility & contrast

On white

5.08
#9152BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9152BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9152BC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9152BC#FFFFFF#000000##FFFFFF
##9152BC1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9152bc;
/* rgb */ color: rgb(145, 82, 188);
/* oklch */ color: oklch(55.9% 0.167 309.5);
Tailwind
colors: {
  custom: {
    50: '#b485d1',
    500: '#9152bc',
    950: '#000000',
  },
}
SCSS
$custom: #9152bc;
$custom-light: #b485d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9152bc",
  "rgb": {
    "r": 145,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 275.66,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5585,
    "c": 0.16651,
    "h": 309.5
  },
  "luminance": 0.15685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9152BC

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

Preview Lab → · Contrast checker → · Palette generator →

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