#9256E9#9256E9

#9256E9 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.5% C 0.212 H 298.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9256E9
RGBrgb(146, 86, 233)
HSLhsl(264, 77%, 63%)
HSVhsv(264, 63%, 91%)
CMYKcmyk(37.3%, 63.1%, 0%, 8.6%)
CIE-LABlab(50.27, 54.34, -65.53)
CIE-LCHlch(50.27, 85.12, 309.67°)
OKLaboklab(59.48% 0.1012 -0.1865)
OKLCHoklch(59.48% 0.212 298.5)
XYZxyz(29.8861, 18.6494, 79.1001)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256E9 #ADE956
analogous
#5663E9 #9256E9 #DC56E9
triadic
#9256E9 #E99256 #56E992
tetradic
#9256E9 #E95663 #ADE956 #56E9DC
square
#9256E9 #E95663 #ADE956 #56E9DC
split-complementary
#9256E9 #E9DC56 #63E956
monochromatic
#5417AE #6F20E2 #9256E9 #B58CF0 #D8C2F7

Accessibility & contrast

On white

4.44
#9256E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9256E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9256E9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256E9#FFFFFF#000000##000000
##9256E91.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EE
Deuteranopia (green-blind)
#0076E6
Tritanopia (blue-blind)
#7E7798
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9256e9;
/* rgb */ color: rgb(146, 86, 233);
/* oklch */ color: oklch(59.5% 0.212 298.5);
Tailwind
colors: {
  custom: {
    50: '#b889f1',
    500: '#9256e9',
    950: '#000000',
  },
}
SCSS
$custom: #9256e9;
$custom-light: #b889f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9256e9",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 264.49,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59483,
    "c": 0.21222,
    "h": 298.5
  },
  "luminance": 0.1865
}

Semantic roles & 50–950 ramp

primary
#9256E9
secondary
#D2E8B3
accent
#D90C86
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9256E9

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

Preview Lab → · Contrast checker → · Palette generator →

#9256E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva