#9251EA#9251EA

#9251EA is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.9% C 0.220 H 299.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9251EA
RGBrgb(146, 81, 234)
HSLhsl(265, 78%, 62%)
HSVhsv(265, 65%, 92%)
CMYKcmyk(37.6%, 65.4%, 0%, 8.2%)
CIE-LABlab(49.42, 57.10, -67.47)
CIE-LCHlch(49.42, 88.40, 310.24°)
OKLaboklab(58.89% 0.1065 -0.1922)
OKLCHoklch(58.89% 0.22 299)
XYZxyz(29.6441, 17.9360, 79.7261)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9251EA #A9EA51
analogous
#515DEA #9251EA #DF51EA
triadic
#9251EA #EA9251 #51EA92
tetradic
#9251EA #EA515D #A9EA51 #51EADF
square
#9251EA #EA515D #A9EA51 #51EADF
split-complementary
#9251EA #EADF51 #5DEA51
monochromatic
#5515AC #701BE2 #9251EA #B488F1 #D6BEF7

Accessibility & contrast

On white

4.58
#9251EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9251EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9251EA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9251EA#FFFFFF#000000##000000
##9251EA1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#7E7497
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9251ea;
/* rgb */ color: rgb(146, 81, 234);
/* oklch */ color: oklch(58.9% 0.220 299.0);
Tailwind
colors: {
  custom: {
    50: '#b886f2',
    500: '#9251ea',
    950: '#000000',
  },
}
SCSS
$custom: #9251ea;
$custom-light: #b886f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9251ea",
  "rgb": {
    "r": 146,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 265.49,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58887,
    "c": 0.21977,
    "h": 299
  },
  "luminance": 0.17936
}

Semantic roles & 50–950 ramp

primary
#9251EA
secondary
#D0E8AF
accent
#DB0B82
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9251EA

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

Preview Lab → · Contrast checker → · Palette generator →

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