#9252BC#9252BC

#9252BC is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.0% C 0.167 H 309.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9252BC
RGBrgb(146, 82, 188)
HSLhsl(276, 44%, 53%)
HSVhsv(276, 56%, 74%)
CMYKcmyk(22.3%, 56.4%, 0%, 26.3%)
CIE-LABlab(46.68, 45.62, -45.56)
CIE-LCHlch(46.68, 64.47, 315.04°)
OKLaboklab(55.97% 0.1071 -0.1279)
OKLCHoklch(55.97% 0.167 309.9)
XYZxyz(23.9467, 15.7769, 49.3509)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9252BC #7CBC52
analogous
#5D52BC #9252BC #BC52B1
triadic
#9252BC #BC9252 #52BC92
tetradic
#9252BC #BC5D52 #7CBC52 #52B1BC
square
#9252BC #BC5D52 #7CBC52 #52B1BC
split-complementary
#9252BC #B1BC52 #52BC5D
monochromatic
#51296A #723A97 #9252BC #AE7ECD #CAAADE

Accessibility & contrast

On white

5.05
#9252BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9252BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9252BC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9252BC#FFFFFF#000000##FFFFFF
##9252BC1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CBF
Deuteranopia (green-blind)
#4770B9
Tritanopia (blue-blind)
#8D657F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9252bc;
/* rgb */ color: rgb(146, 82, 188);
/* oklch */ color: oklch(56.0% 0.167 309.9);
Tailwind
colors: {
  custom: {
    50: '#b585d1',
    500: '#9252bc',
    950: '#000000',
  },
}
SCSS
$custom: #9252bc;
$custom-light: #b585d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9252bc",
  "rgb": {
    "r": 146,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 276.226,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55965,
    "c": 0.16686,
    "h": 309.9
  },
  "luminance": 0.15776
}

Semantic roles & 50–950 ramp

primary
#9252BC
secondary
#B0CC9E
accent
#D45487
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9252BC

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

Preview Lab → · Contrast checker → · Palette generator →

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