#9256BC#9256BC

#9256BC is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.6% C 0.161 H 309.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9256BC
RGBrgb(146, 86, 188)
HSLhsl(275, 43%, 54%)
HSVhsv(275, 54%, 74%)
CMYKcmyk(22.3%, 54.3%, 0%, 26.3%)
CIE-LABlab(47.49, 43.48, -44.27)
CIE-LCHlch(47.49, 62.05, 314.49°)
OKLaboklab(56.56% 0.1018 -0.1242)
OKLCHoklch(56.56% 0.161 309.3)
XYZxyz(24.2572, 16.3978, 49.4544)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256BC #80BC56
analogous
#5F56BC #9256BC #BC56B3
triadic
#9256BC #BC9256 #56BC92
tetradic
#9256BC #BC5F56 #80BC56 #56B3BC
square
#9256BC #BC5F56 #80BC56 #56B3BC
split-complementary
#9256BC #B3BC56 #56BC5F
monochromatic
#522B6D #733C98 #9256BC #AE82CD #CBAEDF

Accessibility & contrast

On white

4.91
#9256BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9256BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9256BC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256BC#FFFFFF#000000##FFFFFF
##9256BC1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376EBF
Deuteranopia (green-blind)
#4B72B9
Tritanopia (blue-blind)
#8C6881
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9256bc;
/* rgb */ color: rgb(146, 86, 188);
/* oklch */ color: oklch(56.6% 0.161 309.3);
Tailwind
colors: {
  custom: {
    50: '#b488d1',
    500: '#9256bc',
    950: '#000000',
  },
}
SCSS
$custom: #9256bc;
$custom-light: #b488d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9256bc",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 275.294,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56562,
    "c": 0.16057,
    "h": 309.3
  },
  "luminance": 0.16397
}

Semantic roles & 50–950 ramp

primary
#9256BC
secondary
#B3CDA1
accent
#D35589
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9256BC

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

Preview Lab → · Contrast checker → · Palette generator →

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