#9251E6#9251E6

#9251E6 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.6% C 0.215 H 299.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9251E6
RGBrgb(146, 81, 230)
HSLhsl(266, 75%, 61%)
HSVhsv(266, 65%, 90%)
CMYKcmyk(36.5%, 64.8%, 0%, 9.8%)
CIE-LABlab(49.14, 56.12, -65.67)
CIE-LCHlch(49.14, 86.38, 310.52°)
OKLaboklab(58.6% 0.1069 -0.1869)
OKLCHoklch(58.6% 0.215 299.8)
XYZxyz(29.0759, 17.7087, 76.7338)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9251E6 #A5E651
analogous
#515AE6 #9251E6 #DC51E6
triadic
#9251E6 #E69251 #51E692
tetradic
#9251E6 #E6515A #A5E651 #51E6DC
square
#9251E6 #E6515A #A5E651 #51E6DC
split-complementary
#9251E6 #E6DC51 #5AE651
monochromatic
#5518A5 #711FDA #9251E6 #B487EE #D5BCF5

Accessibility & contrast

On white

4.62
#9251E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9251E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9251E6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9251E6#FFFFFF#000000##FFFFFF
##9251E61.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#7F7395
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9251e6;
/* rgb */ color: rgb(146, 81, 230);
/* oklch */ color: oklch(58.6% 0.215 299.8);
Tailwind
colors: {
  custom: {
    50: '#b886ef',
    500: '#9251e6',
    950: '#000000',
  },
}
SCSS
$custom: #9251e6;
$custom-light: #b886ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9251e6",
  "rgb": {
    "r": 146,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 266.174,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.586,
    "c": 0.21535,
    "h": 299.8
  },
  "luminance": 0.17709
}

Semantic roles & 50–950 ramp

primary
#9251E6
secondary
#CDE5AD
accent
#D70E80
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9251E6

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

Preview Lab → · Contrast checker → · Palette generator →

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