#9256CA#9256CA

#9256CA is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.4% C 0.177 H 305.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9256CA
RGBrgb(146, 86, 202)
HSLhsl(271, 52%, 56%)
HSVhsv(271, 57%, 79%)
CMYKcmyk(27.7%, 57.4%, 0%, 20.8%)
CIE-LABlab(48.30, 46.76, -51.07)
CIE-LCHlch(48.30, 69.24, 312.48°)
OKLaboklab(57.42% 0.1023 -0.1441)
OKLCHoklch(57.42% 0.177 305.4)
XYZxyz(25.8402, 17.0310, 57.7917)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256CA #8ECA56
analogous
#5856CA #9256CA #CA56C8
triadic
#9256CA #CA9256 #56CA92
tetradic
#9256CA #CA5856 #8ECA56 #56C8CA
square
#9256CA #CA5856 #8ECA56 #56C8CA
split-complementary
#9256CA #C8CA56 #56CA58
monochromatic
#54287E #7336AD #9256CA #B085D9 #CEB3E7

Accessibility & contrast

On white

4.77
#9256CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9256CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9256CA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256CA#FFFFFF#000000##FFFFFF
##9256CA1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2771CE
Deuteranopia (green-blind)
#4073C7
Tritanopia (blue-blind)
#886C88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9256ca;
/* rgb */ color: rgb(146, 86, 202);
/* oklch */ color: oklch(57.4% 0.177 305.4);
Tailwind
colors: {
  custom: {
    50: '#b588db',
    500: '#9256ca',
    950: '#000000',
  },
}
SCSS
$custom: #9256ca;
$custom-light: #b588db;
$custom-dark: #000000;
JSON
{
  "hex": "#9256ca",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 271.034,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57415,
    "c": 0.17673,
    "h": 305.4
  },
  "luminance": 0.17031
}

Semantic roles & 50–950 ramp

primary
#9256CA
secondary
#BDD6A6
accent
#DC4C91
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #9256CA

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

Preview Lab → · Contrast checker → · Palette generator →

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