#9256CE#9256CE

#9256CE is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.7% C 0.181 H 304.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9256CE
RGBrgb(146, 86, 206)
HSLhsl(270, 55%, 57%)
HSVhsv(270, 58%, 81%)
CMYKcmyk(29.1%, 58.3%, 0%, 19.2%)
CIE-LABlab(48.54, 47.71, -52.98)
CIE-LCHlch(48.54, 71.30, 312.00°)
OKLaboklab(57.67% 0.1024 -0.1497)
OKLCHoklch(57.67% 0.181 304.4)
XYZxyz(26.3200, 17.2229, 60.3183)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256CE #92CE56
analogous
#5656CE #9256CE #CE56CE
triadic
#9256CE #CE9256 #56CE92
tetradic
#9256CE #CE5656 #92CE56 #56CECE
square
#9256CE #CE5656 #92CE56 #56CECE
split-complementary
#9256CE #CECE56 #56CE56
monochromatic
#552683 #7334B3 #9256CE #B185DC #CFB5EA

Accessibility & contrast

On white

4.72
#9256CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9256CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9256CE
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256CE#FFFFFF#000000##FFFFFF
##9256CE1.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2172D2
Deuteranopia (green-blind)
#3C73CB
Tritanopia (blue-blind)
#876E8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9256ce;
/* rgb */ color: rgb(146, 86, 206);
/* oklch */ color: oklch(57.7% 0.181 304.4);
Tailwind
colors: {
  custom: {
    50: '#b588de',
    500: '#9256ce',
    950: '#000000',
  },
}
SCSS
$custom: #9256ce;
$custom-light: #b588de;
$custom-dark: #000000;
JSON
{
  "hex": "#9256ce",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 270,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57668,
    "c": 0.18134,
    "h": 304.4
  },
  "luminance": 0.17223
}

Semantic roles & 50–950 ramp

primary
#9256CE
secondary
#C0D8A8
accent
#DE4994
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9256CE

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

Preview Lab → · Contrast checker → · Palette generator →

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