#9256E6#9256E6

#9256E6 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.3% C 0.209 H 299.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9256E6
RGBrgb(146, 86, 230)
HSLhsl(265, 74%, 62%)
HSVhsv(265, 63%, 90%)
CMYKcmyk(36.5%, 62.6%, 0%, 9.8%)
CIE-LABlab(50.07, 53.59, -64.16)
CIE-LCHlch(50.07, 83.60, 309.87°)
OKLaboklab(59.27% 0.1015 -0.1825)
OKLCHoklch(59.27% 0.209 299.1)
XYZxyz(29.4612, 18.4794, 76.8623)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256E6 #AAE656
analogous
#5662E6 #9256E6 #DA56E6
triadic
#9256E6 #E69256 #56E692
tetradic
#9256E6 #E65662 #AAE656 #56E6DA
square
#9256E6 #E65662 #AAE656 #56E6DA
split-complementary
#9256E6 #E6DA56 #62E656
monochromatic
#5519A9 #7021DE #9256E6 #B48BEE #D7C1F6

Accessibility & contrast

On white

4.47
#9256E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9256E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9256E6
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256E6#FFFFFF#000000##000000
##9256E61.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#1076E3
Tritanopia (blue-blind)
#7F7696
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9256e6;
/* rgb */ color: rgb(146, 86, 230);
/* oklch */ color: oklch(59.3% 0.209 299.1);
Tailwind
colors: {
  custom: {
    50: '#b789ef',
    500: '#9256e6',
    950: '#000000',
  },
}
SCSS
$custom: #9256e6;
$custom-light: #b789ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9256e6",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 265,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59273,
    "c": 0.20882,
    "h": 299.1
  },
  "luminance": 0.1848
}

Semantic roles & 50–950 ramp

primary
#9256E6
secondary
#D0E6B1
accent
#D60F83
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9256E6

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

Preview Lab → · Contrast checker → · Palette generator →

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