#9256E8#9256E8

#9256E8 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.4% C 0.211 H 298.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9256E8
RGBrgb(146, 86, 232)
HSLhsl(265, 76%, 62%)
HSVhsv(265, 63%, 91%)
CMYKcmyk(37.1%, 62.9%, 0%, 9%)
CIE-LABlab(50.21, 54.09, -65.07)
CIE-LCHlch(50.21, 84.61, 309.73°)
OKLaboklab(59.41% 0.1013 -0.1852)
OKLCHoklch(59.41% 0.211 298.7)
XYZxyz(29.7437, 18.5924, 78.3499)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256E8 #ACE856
analogous
#5663E8 #9256E8 #DB56E8
triadic
#9256E8 #E89256 #56E892
tetradic
#9256E8 #E85663 #ACE856 #56E8DB
square
#9256E8 #E85663 #ACE856 #56E8DB
split-complementary
#9256E8 #E8DB56 #63E856
monochromatic
#5517AC #6F20E1 #9256E8 #B58CEF #D7C2F7

Accessibility & contrast

On white

4.45
#9256E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9256E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9256E8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256E8#FFFFFF#000000##000000
##9256E81.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#0676E5
Tritanopia (blue-blind)
#7E7797
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9256e8;
/* rgb */ color: rgb(146, 86, 232);
/* oklch */ color: oklch(59.4% 0.211 298.7);
Tailwind
colors: {
  custom: {
    50: '#b789f0',
    500: '#9256e8',
    950: '#000000',
  },
}
SCSS
$custom: #9256e8;
$custom-light: #b789f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9256e8",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 264.658,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59413,
    "c": 0.21109,
    "h": 298.7
  },
  "luminance": 0.18593
}

Semantic roles & 50–950 ramp

primary
#9256E8
secondary
#D2E8B2
accent
#D80D85
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9256E8

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

Preview Lab → · Contrast checker → · Palette generator →

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