#9256BB#9256BB

#9256BB is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.5% C 0.159 H 309.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9256BB
RGBrgb(146, 86, 187)
HSLhsl(276, 43%, 54%)
HSVhsv(276, 54%, 73%)
CMYKcmyk(21.9%, 54%, 0%, 26.7%)
CIE-LABlab(47.44, 43.25, -43.78)
CIE-LCHlch(47.44, 61.54, 314.66°)
OKLaboklab(56.5% 0.1017 -0.1227)
OKLCHoklch(56.5% 0.159 309.7)
XYZxyz(24.1498, 16.3548, 48.8887)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256BB #7FBB56
analogous
#5F56BB #9256BB #BB56B1
triadic
#9256BB #BB9256 #56BB92
tetradic
#9256BB #BB5F56 #7FBB56 #56B1BB
square
#9256BB #BB5F56 #7FBB56 #56B1BB
split-complementary
#9256BB #B1BB56 #56BB5F
monochromatic
#512B6B #723D97 #9256BB #AE82CD #CAADDE

Accessibility & contrast

On white

4.92
#9256BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9256BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9256BB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256BB#FFFFFF#000000##FFFFFF
##9256BB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386EBE
Deuteranopia (green-blind)
#4C71B8
Tritanopia (blue-blind)
#8D6880
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9256bb;
/* rgb */ color: rgb(146, 86, 187);
/* oklch */ color: oklch(56.5% 0.159 309.7);
Tailwind
colors: {
  custom: {
    50: '#b488d0',
    500: '#9256bb',
    950: '#000000',
  },
}
SCSS
$custom: #9256bb;
$custom-light: #b488d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9256bb",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 275.644,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56503,
    "c": 0.15941,
    "h": 309.7
  },
  "luminance": 0.16354
}

Semantic roles & 50–950 ramp

primary
#9256BB
secondary
#B2CCA1
accent
#D25588
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9256BB

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

Preview Lab → · Contrast checker → · Palette generator →

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