#9252BB#9252BB

#9252BB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.9% C 0.166 H 310.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9252BB
RGBrgb(146, 82, 187)
HSLhsl(277, 44%, 53%)
HSVhsv(277, 56%, 73%)
CMYKcmyk(21.9%, 56.1%, 0%, 26.7%)
CIE-LABlab(46.62, 45.39, -45.07)
CIE-LCHlch(46.62, 63.97, 315.21°)
OKLaboklab(55.91% 0.1071 -0.1265)
OKLCHoklch(55.91% 0.166 310.2)
XYZxyz(23.8393, 15.7339, 48.7852)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9252BB #7BBB52
analogous
#5D52BB #9252BB #BB52B0
triadic
#9252BB #BB9252 #52BB92
tetradic
#9252BB #BB5D52 #7BBB52 #52B0BB
square
#9252BB #BB5D52 #7BBB52 #52B0BB
split-complementary
#9252BB #B0BB52 #52BB5D
monochromatic
#502969 #723B95 #9252BB #AE7ECC #C9AADE

Accessibility & contrast

On white

5.06
#9252BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9252BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9252BB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9252BB#FFFFFF#000000##FFFFFF
##9252BB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CBE
Deuteranopia (green-blind)
#4870B8
Tritanopia (blue-blind)
#8D657F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9252bb;
/* rgb */ color: rgb(146, 82, 187);
/* oklch */ color: oklch(55.9% 0.166 310.2);
Tailwind
colors: {
  custom: {
    50: '#b585d0',
    500: '#9252bb',
    950: '#000000',
  },
}
SCSS
$custom: #9252bb;
$custom-light: #b585d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9252bb",
  "rgb": {
    "r": 146,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 276.571,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55905,
    "c": 0.16573,
    "h": 310.2
  },
  "luminance": 0.15733
}

Semantic roles & 50–950 ramp

primary
#9252BB
secondary
#AFCB9E
accent
#D35486
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9252BB

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

Preview Lab → · Contrast checker → · Palette generator →

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