#9256BF#9256BF

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

Color values

HEX#9256BF
RGBrgb(146, 86, 191)
HSLhsl(274, 45%, 54%)
HSVhsv(274, 55%, 75%)
CMYKcmyk(23.6%, 55%, 0%, 25.1%)
CIE-LABlab(47.66, 44.17, -45.74)
CIE-LCHlch(47.66, 63.59, 314.00°)
OKLaboklab(56.74% 0.102 -0.1285)
OKLCHoklch(56.74% 0.164 308.4)
XYZxyz(24.5840, 16.5285, 51.1753)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256BF #83BF56
analogous
#5E56BF #9256BF #BF56B7
triadic
#9256BF #BF9256 #56BF92
tetradic
#9256BF #BF5E56 #83BF56 #56B7BF
square
#9256BF #BF5E56 #83BF56 #56B7BF
split-complementary
#9256BF #B7BF56 #56BF5E
monochromatic
#522A70 #733B9D #9256BF #AF82D0 #CBAFE1

Accessibility & contrast

On white

4.88
#9256BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9256BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9256BF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256BF#FFFFFF#000000##FFFFFF
##9256BF1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356FC2
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#8C6982
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9256bf;
/* rgb */ color: rgb(146, 86, 191);
/* oklch */ color: oklch(56.7% 0.164 308.4);
Tailwind
colors: {
  custom: {
    50: '#b588d3',
    500: '#9256bf',
    950: '#000000',
  },
}
SCSS
$custom: #9256bf;
$custom-light: #b588d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9256bf",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 274.286,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5674,
    "c": 0.16402,
    "h": 308.4
  },
  "luminance": 0.16528
}

Semantic roles & 50–950 ramp

primary
#9256BF
secondary
#B5CFA2
accent
#D5538B
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #9256BF

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

Preview Lab → · Contrast checker → · Palette generator →

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