#9256E7#9256E7

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

Color values

HEX#9256E7
RGBrgb(146, 86, 231)
HSLhsl(265, 75%, 62%)
HSVhsv(265, 63%, 91%)
CMYKcmyk(36.8%, 62.8%, 0%, 9.4%)
CIE-LABlab(50.14, 53.84, -64.62)
CIE-LCHlch(50.14, 84.11, 309.80°)
OKLaboklab(59.34% 0.1014 -0.1839)
OKLCHoklch(59.34% 0.21 298.9)
XYZxyz(29.6021, 18.5357, 77.6040)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256E7 #ABE756
analogous
#5662E7 #9256E7 #DB56E7
triadic
#9256E7 #E79256 #56E792
tetradic
#9256E7 #E75662 #ABE756 #56E7DB
square
#9256E7 #E75662 #ABE756 #56E7DB
split-complementary
#9256E7 #E7DB56 #62E756
monochromatic
#5518AA #6F20DF #9256E7 #B58CEF #D7C1F6

Accessibility & contrast

On white

4.46
#9256E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9256E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9256E7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256E7#FFFFFF#000000##000000
##9256E71.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#0B76E4
Tritanopia (blue-blind)
#7F7697
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9256e7;
/* rgb */ color: rgb(146, 86, 231);
/* oklch */ color: oklch(59.3% 0.210 298.9);
Tailwind
colors: {
  custom: {
    50: '#b789ef',
    500: '#9256e7',
    950: '#000000',
  },
}
SCSS
$custom: #9256e7;
$custom-light: #b789ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9256e7",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 264.828,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59343,
    "c": 0.20996,
    "h": 298.9
  },
  "luminance": 0.18536
}

Semantic roles & 50–950 ramp

primary
#9256E7
secondary
#D1E7B2
accent
#D70E84
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9256E7

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

Preview Lab → · Contrast checker → · Palette generator →

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