#9251BB#9251BB

#9251BB is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.8% C 0.167 H 310.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9251BB
RGBrgb(146, 81, 187)
HSLhsl(277, 44%, 53%)
HSVhsv(277, 57%, 73%)
CMYKcmyk(21.9%, 56.7%, 0%, 26.7%)
CIE-LABlab(46.42, 45.92, -45.39)
CIE-LCHlch(46.42, 64.57, 315.34°)
OKLaboklab(55.76% 0.1084 -0.1274)
OKLCHoklch(55.76% 0.167 310.4)
XYZxyz(23.7644, 15.5842, 48.7602)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9251BB #7ABB51
analogous
#5D51BB #9251BB #BB51AF
triadic
#9251BB #BB9251 #51BB92
tetradic
#9251BB #BB5D51 #7ABB51 #51AFBB
square
#9251BB #BB5D51 #7ABB51 #51AFBB
split-complementary
#9251BB #AFBB51 #51BB5D
monochromatic
#502969 #723A95 #9251BB #AE7DCC #C9A9DD

Accessibility & contrast

On white

5.10
#9251BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9251BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9251BB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9251BB#FFFFFF#000000##FFFFFF
##9251BB1.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)
#2F6BBE
Deuteranopia (green-blind)
#476FB8
Tritanopia (blue-blind)
#8D647E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9251bb;
/* rgb */ color: rgb(146, 81, 187);
/* oklch */ color: oklch(55.8% 0.167 310.4);
Tailwind
colors: {
  custom: {
    50: '#b585d0',
    500: '#9251bb',
    950: '#000000',
  },
}
SCSS
$custom: #9251bb;
$custom-light: #b585d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9251bb",
  "rgb": {
    "r": 146,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 276.792,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55759,
    "c": 0.16729,
    "h": 310.4
  },
  "luminance": 0.15584
}

Semantic roles & 50–950 ramp

primary
#9251BB
secondary
#AFCB9D
accent
#D45485
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9251BB

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

Preview Lab → · Contrast checker → · Palette generator →

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