#9256BD#9256BD

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

Color values

HEX#9256BD
RGBrgb(146, 86, 189)
HSLhsl(275, 44%, 54%)
HSVhsv(275, 54%, 74%)
CMYKcmyk(22.8%, 54.5%, 0%, 25.9%)
CIE-LABlab(47.55, 43.71, -44.76)
CIE-LCHlch(47.55, 62.56, 314.32°)
OKLaboklab(56.62% 0.1019 -0.1256)
OKLCHoklch(56.62% 0.162 309)
XYZxyz(24.3654, 16.4411, 50.0241)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256BD #81BD56
analogous
#5F56BD #9256BD #BD56B5
triadic
#9256BD #BD9256 #56BD92
tetradic
#9256BD #BD5F56 #81BD56 #56B5BD
square
#9256BD #BD5F56 #81BD56 #56B5BD
split-complementary
#9256BD #B5BD56 #56BD5F
monochromatic
#522B6E #733C9A #9256BD #AE82CE #CBAEDF

Accessibility & contrast

On white

4.90
#9256BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9256BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9256BD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256BD#FFFFFF#000000##FFFFFF
##9256BD1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366EC0
Deuteranopia (green-blind)
#4B72BA
Tritanopia (blue-blind)
#8C6881
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9256bd;
/* rgb */ color: rgb(146, 86, 189);
/* oklch */ color: oklch(56.6% 0.162 309.0);
Tailwind
colors: {
  custom: {
    50: '#b488d1',
    500: '#9256bd',
    950: '#000000',
  },
}
SCSS
$custom: #9256bd;
$custom-light: #b488d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9256bd",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 274.951,
    "s": 43.83,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56621,
    "c": 0.16172,
    "h": 309
  },
  "luminance": 0.16441
}

Semantic roles & 50–950 ramp

primary
#9256BD
secondary
#B4CDA1
accent
#D45489
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9256BD

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

Preview Lab → · Contrast checker → · Palette generator →

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