#9256CD#9256CD

#9256CD is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.6% C 0.180 H 304.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9256CD
RGBrgb(146, 86, 205)
HSLhsl(270, 54%, 57%)
HSVhsv(270, 58%, 80%)
CMYKcmyk(28.8%, 58%, 0%, 19.6%)
CIE-LABlab(48.48, 47.47, -52.51)
CIE-LCHlch(48.48, 70.79, 312.12°)
OKLaboklab(57.61% 0.1024 -0.1483)
OKLCHoklch(57.61% 0.18 304.6)
XYZxyz(26.1989, 17.1745, 59.6806)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256CD #91CD56
analogous
#5756CD #9256CD #CD56CD
triadic
#9256CD #CD9256 #56CD92
tetradic
#9256CD #CD5756 #91CD56 #56CDCD
square
#9256CD #CD5756 #91CD56 #56CDCD
split-complementary
#9256CD #CDCD56 #56CD57
monochromatic
#552682 #7334B1 #9256CD #B085DB #CFB4E9

Accessibility & contrast

On white

4.74
#9256CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9256CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9256CD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256CD#FFFFFF#000000##FFFFFF
##9256CD1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2371D1
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#886D89
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9256cd;
/* rgb */ color: rgb(146, 86, 205);
/* oklch */ color: oklch(57.6% 0.180 304.6);
Tailwind
colors: {
  custom: {
    50: '#b588dd',
    500: '#9256cd',
    950: '#000000',
  },
}
SCSS
$custom: #9256cd;
$custom-light: #b588dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9256cd",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 270.252,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57605,
    "c": 0.18018,
    "h": 304.6
  },
  "luminance": 0.17174
}

Semantic roles & 50–950 ramp

primary
#9256CD
secondary
#BFD8A7
accent
#DE4A93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9256CD

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

Preview Lab → · Contrast checker → · Palette generator →

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