#9256E4#9256E4

#9256E4 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.1% C 0.207 H 299.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9256E4
RGBrgb(146, 86, 228)
HSLhsl(265, 72%, 62%)
HSVhsv(265, 62%, 89%)
CMYKcmyk(36%, 62.3%, 0%, 10.6%)
CIE-LABlab(49.94, 53.09, -63.25)
CIE-LCHlch(49.94, 82.58, 310.01°)
OKLaboklab(59.13% 0.1016 -0.1798)
OKLCHoklch(59.13% 0.207 299.5)
XYZxyz(29.1820, 18.3677, 75.3916)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256E4 #A8E456
analogous
#5661E4 #9256E4 #D956E4
triadic
#9256E4 #E49256 #56E492
tetradic
#9256E4 #E45661 #A8E456 #56E4D9
square
#9256E4 #E45661 #A8E456 #56E4D9
split-complementary
#9256E4 #E4D956 #61E456
monochromatic
#551AA5 #7023DA #9256E4 #B48BEC #D6C0F5

Accessibility & contrast

On white

4.49
#9256E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#9256E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9256E4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256E4#FFFFFF#000000##000000
##9256E41.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#1776E1
Tritanopia (blue-blind)
#807595
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9256e4;
/* rgb */ color: rgb(146, 86, 228);
/* oklch */ color: oklch(59.1% 0.207 299.5);
Tailwind
colors: {
  custom: {
    50: '#b789ed',
    500: '#9256e4',
    950: '#000000',
  },
}
SCSS
$custom: #9256e4;
$custom-light: #b789ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9256e4",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 265.352,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59134,
    "c": 0.20656,
    "h": 299.5
  },
  "luminance": 0.18368
}

Semantic roles & 50–950 ramp

primary
#9256E4
secondary
#CFE5B0
accent
#D51182
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9256E4

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

Preview Lab → · Contrast checker → · Palette generator →

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