#9256D2#9256D2

#9256D2 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.9% C 0.186 H 303.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9256D2
RGBrgb(146, 86, 210)
HSLhsl(269, 58%, 58%)
HSVhsv(269, 59%, 82%)
CMYKcmyk(30.5%, 59%, 0%, 17.6%)
CIE-LABlab(48.78, 48.68, -54.88)
CIE-LCHlch(48.78, 73.36, 311.57°)
OKLaboklab(57.93% 0.1023 -0.1552)
OKLCHoklch(57.93% 0.186 303.4)
XYZxyz(26.8121, 17.4198, 62.9101)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256D2 #96D256
analogous
#5658D2 #9256D2 #D056D2
triadic
#9256D2 #D29256 #56D292
tetradic
#9256D2 #D25658 #96D256 #56D2D0
square
#9256D2 #D25658 #96D256 #56D2D0
split-complementary
#9256D2 #D2D056 #58D256
monochromatic
#552589 #7331B9 #9256D2 #B186DF #D0B7EC

Accessibility & contrast

On white

4.68
#9256D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9256D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9256D2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256D2#FFFFFF#000000##FFFFFF
##9256D21.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1973D6
Deuteranopia (green-blind)
#3774CF
Tritanopia (blue-blind)
#866F8C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9256d2;
/* rgb */ color: rgb(146, 86, 210);
/* oklch */ color: oklch(57.9% 0.186 303.4);
Tailwind
colors: {
  custom: {
    50: '#b688e0',
    500: '#9256d2',
    950: '#000000',
  },
}
SCSS
$custom: #9256d2;
$custom-light: #b688e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9256d2",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 269.032,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57926,
    "c": 0.18595,
    "h": 303.4
  },
  "luminance": 0.1742
}

Semantic roles & 50–950 ramp

primary
#9256D2
secondary
#C3DBA9
accent
#E14796
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9256D2

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

Preview Lab → · Contrast checker → · Palette generator →

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