#9256CF#9256CF

#9256CF is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.7% C 0.182 H 304.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9256CF
RGBrgb(146, 86, 207)
HSLhsl(270, 56%, 57%)
HSVhsv(270, 58%, 81%)
CMYKcmyk(29.5%, 58.5%, 0%, 18.8%)
CIE-LABlab(48.60, 47.95, -53.46)
CIE-LCHlch(48.60, 71.81, 311.89°)
OKLaboklab(57.73% 0.1024 -0.1511)
OKLCHoklch(57.73% 0.182 304.1)
XYZxyz(26.4418, 17.2717, 60.9601)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256CF #93CF56
analogous
#5657CF #9256CF #CE56CF
triadic
#9256CF #CF9256 #56CF92
tetradic
#9256CF #CF5657 #93CF56 #56CFCE
square
#9256CF #CF5657 #93CF56 #56CFCE
split-complementary
#9256CF #CFCE56 #57CF56
monochromatic
#552685 #7333B5 #9256CF #B186DD #CFB5EA

Accessibility & contrast

On white

4.71
#9256CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9256CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9256CF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256CF#FFFFFF#000000##FFFFFF
##9256CF1.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F72D3
Deuteranopia (green-blind)
#3B73CC
Tritanopia (blue-blind)
#876E8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9256cf;
/* rgb */ color: rgb(146, 86, 207);
/* oklch */ color: oklch(57.7% 0.182 304.1);
Tailwind
colors: {
  custom: {
    50: '#b688de',
    500: '#9256cf',
    950: '#000000',
  },
}
SCSS
$custom: #9256cf;
$custom-light: #b688de;
$custom-dark: #000000;
JSON
{
  "hex": "#9256cf",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 269.752,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57732,
    "c": 0.18249,
    "h": 304.1
  },
  "luminance": 0.17272
}

Semantic roles & 50–950 ramp

primary
#9256CF
secondary
#C1D9A8
accent
#DF4995
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9256CF

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

Preview Lab → · Contrast checker → · Palette generator →

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