#9251D7#9251D7

#9251D7 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.6% C 0.199 H 303.0°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9251D7
RGBrgb(146, 81, 215)
HSLhsl(269, 63%, 58%)
HSVhsv(269, 62%, 84%)
CMYKcmyk(32.1%, 62.3%, 0%, 15.7%)
CIE-LABlab(48.14, 52.47, -58.78)
CIE-LCHlch(48.14, 78.79, 311.76°)
OKLaboklab(57.56% 0.1081 -0.1667)
OKLCHoklch(57.56% 0.199 303)
XYZxyz(27.0594, 16.9022, 66.1137)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9251D7 #96D751
analogous
#5153D7 #9251D7 #D551D7
triadic
#9251D7 #D79251 #51D792
tetradic
#9251D7 #D75153 #96D751 #51D7D5
square
#9251D7 #D75153 #96D751 #51D7D5
split-complementary
#9251D7 #D7D551 #53D751
monochromatic
#55208D #732CBF #9251D7 #B183E2 #D0B5EE

Accessibility & contrast

On white

4.79
#9251D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9251D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9251D7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9251D7#FFFFFF#000000##FFFFFF
##9251D71.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#2872D4
Tritanopia (blue-blind)
#856D8D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9251d7;
/* rgb */ color: rgb(146, 81, 215);
/* oklch */ color: oklch(57.6% 0.199 303.0);
Tailwind
colors: {
  custom: {
    50: '#b685e4',
    500: '#9251d7',
    950: '#000000',
  },
}
SCSS
$custom: #9251d7;
$custom-light: #b685e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9251d7",
  "rgb": {
    "r": 146,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 269.104,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57556,
    "c": 0.19867,
    "h": 303
  },
  "luminance": 0.16902
}

Semantic roles & 50–950 ramp

primary
#9251D7
secondary
#C3DDA7
accent
#E64296
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9251D7

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

Preview Lab → · Contrast checker → · Palette generator →

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