#9256CB#9256CB

#9256CB is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.5% C 0.178 H 305.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9256CB
RGBrgb(146, 86, 203)
HSLhsl(271, 53%, 57%)
HSVhsv(271, 58%, 80%)
CMYKcmyk(28.1%, 57.6%, 0%, 20.4%)
CIE-LABlab(48.36, 47.00, -51.55)
CIE-LCHlch(48.36, 69.76, 312.35°)
OKLaboklab(57.48% 0.1024 -0.1455)
OKLCHoklch(57.48% 0.178 305.1)
XYZxyz(25.9590, 17.0785, 58.4173)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256CB #8FCB56
analogous
#5856CB #9256CB #CB56CA
triadic
#9256CB #CB9256 #56CB92
tetradic
#9256CB #CB5856 #8FCB56 #56CACB
square
#9256CB #CB5856 #8FCB56 #56CACB
split-complementary
#9256CB #CACB56 #56CB58
monochromatic
#54277F #7336AE #9256CB #B085D9 #CEB4E8

Accessibility & contrast

On white

4.76
#9256CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9256CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9256CB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256CB#FFFFFF#000000##FFFFFF
##9256CB1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2671CF
Deuteranopia (green-blind)
#3F73C8
Tritanopia (blue-blind)
#886D88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9256cb;
/* rgb */ color: rgb(146, 86, 203);
/* oklch */ color: oklch(57.5% 0.178 305.1);
Tailwind
colors: {
  custom: {
    50: '#b588db',
    500: '#9256cb',
    950: '#000000',
  },
}
SCSS
$custom: #9256cb;
$custom-light: #b588db;
$custom-dark: #000000;
JSON
{
  "hex": "#9256cb",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 270.769,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57478,
    "c": 0.17788,
    "h": 305.1
  },
  "luminance": 0.17078
}

Semantic roles & 50–950 ramp

primary
#9256CB
secondary
#BED6A6
accent
#DC4B92
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #9256CB

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

Preview Lab → · Contrast checker → · Palette generator →

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