#9251E5#9251E5

#9251E5 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.5% C 0.214 H 300.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9251E5
RGBrgb(146, 81, 229)
HSLhsl(266, 74%, 61%)
HSVhsv(266, 65%, 90%)
CMYKcmyk(36.2%, 64.6%, 0%, 10.2%)
CIE-LABlab(49.07, 55.88, -65.22)
CIE-LCHlch(49.07, 85.88, 310.59°)
OKLaboklab(58.53% 0.107 -0.1856)
OKLCHoklch(58.53% 0.214 300)
XYZxyz(28.9359, 17.6527, 75.9964)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9251E5 #A4E551
analogous
#515AE5 #9251E5 #DC51E5
triadic
#9251E5 #E59251 #51E592
tetradic
#9251E5 #E5515A #A4E551 #51E5DC
square
#9251E5 #E5515A #A4E551 #51E5DC
split-complementary
#9251E5 #E5DC51 #5AE551
monochromatic
#5518A3 #7120D8 #9251E5 #B386ED #D5BBF5

Accessibility & contrast

On white

4.64
#9251E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9251E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9251E5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9251E5#FFFFFF#000000##FFFFFF
##9251E51.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#807294
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9251e5;
/* rgb */ color: rgb(146, 81, 229);
/* oklch */ color: oklch(58.5% 0.214 300.0);
Tailwind
colors: {
  custom: {
    50: '#b786ee',
    500: '#9251e5',
    950: '#000000',
  },
}
SCSS
$custom: #9251e5;
$custom-light: #b786ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9251e5",
  "rgb": {
    "r": 146,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 266.351,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58529,
    "c": 0.21424,
    "h": 300
  },
  "luminance": 0.17653
}

Semantic roles & 50–950 ramp

primary
#9251E5
secondary
#CCE5AD
accent
#D60F7F
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9251E5

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

Preview Lab → · Contrast checker → · Palette generator →

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