#9256BE#9256BE

#9256BE is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.7% C 0.163 H 308.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9256BE
RGBrgb(146, 86, 190)
HSLhsl(275, 44%, 54%)
HSVhsv(275, 55%, 75%)
CMYKcmyk(23.2%, 54.7%, 0%, 25.5%)
CIE-LABlab(47.60, 43.94, -45.25)
CIE-LCHlch(47.60, 63.08, 314.16°)
OKLaboklab(56.68% 0.1019 -0.127)
OKLCHoklch(56.68% 0.163 308.7)
XYZxyz(24.4743, 16.4846, 50.5978)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256BE #82BE56
analogous
#5E56BE #9256BE #BE56B6
triadic
#9256BE #BE9256 #56BE92
tetradic
#9256BE #BE5E56 #82BE56 #56B6BE
square
#9256BE #BE5E56 #82BE56 #56B6BE
split-complementary
#9256BE #B6BE56 #56BE5E
monochromatic
#522B6F #733C9B #9256BE #AF82CF #CBAEE0

Accessibility & contrast

On white

4.89
#9256BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9256BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9256BE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256BE#FFFFFF#000000##FFFFFF
##9256BE1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC1
Deuteranopia (green-blind)
#4A72BB
Tritanopia (blue-blind)
#8C6982
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9256be;
/* rgb */ color: rgb(146, 86, 190);
/* oklch */ color: oklch(56.7% 0.163 308.7);
Tailwind
colors: {
  custom: {
    50: '#b588d2',
    500: '#9256be',
    950: '#000000',
  },
}
SCSS
$custom: #9256be;
$custom-light: #b588d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9256be",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 274.615,
    "s": 44.444,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5668,
    "c": 0.16287,
    "h": 308.7
  },
  "luminance": 0.16484
}

Semantic roles & 50–950 ramp

primary
#9256BE
secondary
#B4CEA2
accent
#D4548A
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9256BE

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

Preview Lab → · Contrast checker → · Palette generator →

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