#9256E5#9256E5

#9256E5 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.2% C 0.208 H 299.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9256E5
RGBrgb(146, 86, 229)
HSLhsl(265, 73%, 62%)
HSVhsv(265, 62%, 90%)
CMYKcmyk(36.2%, 62.4%, 0%, 10.2%)
CIE-LABlab(50.01, 53.34, -63.71)
CIE-LCHlch(50.01, 83.09, 309.94°)
OKLaboklab(59.2% 0.1015 -0.1812)
OKLCHoklch(59.2% 0.208 299.3)
XYZxyz(29.3212, 18.4234, 76.1248)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256E5 #A9E556
analogous
#5662E5 #9256E5 #DA56E5
triadic
#9256E5 #E59256 #56E592
tetradic
#9256E5 #E55662 #A9E556 #56E5DA
square
#9256E5 #E55662 #A9E556 #56E5DA
split-complementary
#9256E5 #E5DA56 #62E556
monochromatic
#551AA7 #7022DC #9256E5 #B48BED #D6C0F5

Accessibility & contrast

On white

4.48
#9256E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9256E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9256E5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256E5#FFFFFF#000000##000000
##9256E51.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#1476E2
Tritanopia (blue-blind)
#7F7696
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9256e5;
/* rgb */ color: rgb(146, 86, 229);
/* oklch */ color: oklch(59.2% 0.208 299.3);
Tailwind
colors: {
  custom: {
    50: '#b789ee',
    500: '#9256e5',
    950: '#000000',
  },
}
SCSS
$custom: #9256e5;
$custom-light: #b789ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9256e5",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 265.175,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59203,
    "c": 0.20769,
    "h": 299.3
  },
  "luminance": 0.18424
}

Semantic roles & 50–950 ramp

primary
#9256E5
secondary
#D0E6B1
accent
#D51083
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9256E5

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

Preview Lab → · Contrast checker → · Palette generator →

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