#9251BE#9251BE

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

Color values

HEX#9251BE
RGBrgb(146, 81, 190)
HSLhsl(276, 46%, 53%)
HSVhsv(276, 57%, 75%)
CMYKcmyk(23.2%, 57.4%, 0%, 25.5%)
CIE-LABlab(46.60, 46.60, -46.86)
CIE-LCHlch(46.60, 66.09, 314.85°)
OKLaboklab(55.94% 0.1085 -0.1317)
OKLCHoklch(55.94% 0.171 309.5)
XYZxyz(24.0890, 15.7140, 50.4693)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9251BE #7DBE51
analogous
#5B51BE #9251BE #BE51B3
triadic
#9251BE #BE9251 #51BE92
tetradic
#9251BE #BE5B51 #7DBE51 #51B3BE
square
#9251BE #BE5B51 #7DBE51 #51B3BE
split-complementary
#9251BE #B3BE51 #51BE5B
monochromatic
#51286C #723999 #9251BE #AE7ECF #CAAADF

Accessibility & contrast

On white

5.07
#9251BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9251BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9251BE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9251BE#FFFFFF#000000##FFFFFF
##9251BE1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC2
Deuteranopia (green-blind)
#456FBB
Tritanopia (blue-blind)
#8C6580
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9251be;
/* rgb */ color: rgb(146, 81, 190);
/* oklch */ color: oklch(55.9% 0.171 309.5);
Tailwind
colors: {
  custom: {
    50: '#b585d2',
    500: '#9251be',
    950: '#000000',
  },
}
SCSS
$custom: #9251be;
$custom-light: #b585d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9251be",
  "rgb": {
    "r": 146,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 275.78,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55941,
    "c": 0.17065,
    "h": 309.5
  },
  "luminance": 0.15714
}

Semantic roles & 50–950 ramp

primary
#9251BE
secondary
#B1CD9E
accent
#D55387
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9251BE

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

Preview Lab → · Contrast checker → · Palette generator →

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