#9251BC#9251BC

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

Color values

HEX#9251BC
RGBrgb(146, 81, 188)
HSLhsl(276, 44%, 53%)
HSVhsv(276, 57%, 74%)
CMYKcmyk(22.3%, 56.9%, 0%, 26.3%)
CIE-LABlab(46.48, 46.15, -45.88)
CIE-LCHlch(46.48, 65.07, 315.17°)
OKLaboklab(55.82% 0.1084 -0.1288)
OKLCHoklch(55.82% 0.168 310.1)
XYZxyz(23.8719, 15.6271, 49.3260)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9251BC #7BBC51
analogous
#5D51BC #9251BC #BC51B0
triadic
#9251BC #BC9251 #51BC92
tetradic
#9251BC #BC5D51 #7BBC51 #51B0BC
square
#9251BC #BC5D51 #7BBC51 #51B0BC
split-complementary
#9251BC #B0BC51 #51BC5D
monochromatic
#50296A #723A96 #9251BC #AE7DCD #C9A9DE

Accessibility & contrast

On white

5.09
#9251BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9251BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9251BC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9251BC#FFFFFF#000000##FFFFFF
##9251BC1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9251bc;
/* rgb */ color: rgb(146, 81, 188);
/* oklch */ color: oklch(55.8% 0.168 310.1);
Tailwind
colors: {
  custom: {
    50: '#b585d1',
    500: '#9251bc',
    950: '#000000',
  },
}
SCSS
$custom: #9251bc;
$custom-light: #b585d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9251bc",
  "rgb": {
    "r": 146,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 276.449,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55819,
    "c": 0.16841,
    "h": 310.1
  },
  "luminance": 0.15627
}

Semantic roles & 50–950 ramp

primary
#9251BC
secondary
#AFCC9D
accent
#D45486
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9251BC

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

Preview Lab → · Contrast checker → · Palette generator →

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