#9256DE#9256DE

#9256DE is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.7% C 0.200 H 300.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9256DE
RGBrgb(146, 86, 222)
HSLhsl(266, 67%, 60%)
HSVhsv(266, 61%, 87%)
CMYKcmyk(34.2%, 61.3%, 0%, 12.9%)
CIE-LABlab(49.55, 51.60, -60.49)
CIE-LCHlch(49.55, 79.51, 310.47°)
OKLaboklab(58.72% 0.102 -0.1717)
OKLCHoklch(58.72% 0.2 300.7)
XYZxyz(28.3635, 18.0403, 71.0809)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256DE #A2DE56
analogous
#565EDE #9256DE #D656DE
triadic
#9256DE #DE9256 #56DE92
tetradic
#9256DE #DE565E #A2DE56 #56DED6
square
#9256DE #DE565E #A2DE56 #56DED6
split-complementary
#9256DE #DED656 #5EDE56
monochromatic
#551E9B #7228CE #9256DE #B389E8 #D4BCF2

Accessibility & contrast

On white

4.56
#9256DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9256DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9256DE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256DE#FFFFFF#000000##000000
##9256DE1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E2
Deuteranopia (green-blind)
#2675DB
Tritanopia (blue-blind)
#827392
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9256de;
/* rgb */ color: rgb(146, 86, 222);
/* oklch */ color: oklch(58.7% 0.200 300.7);
Tailwind
colors: {
  custom: {
    50: '#b788e9',
    500: '#9256de',
    950: '#000000',
  },
}
SCSS
$custom: #9256de;
$custom-light: #b788e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9256de",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 222
  },
  "hsl": {
    "h": 266.471,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58722,
    "c": 0.19971,
    "h": 300.7
  },
  "luminance": 0.1804
}

Semantic roles & 50–950 ramp

primary
#9256DE
secondary
#CBE2AE
accent
#CF167E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9256DE

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

Preview Lab → · Contrast checker → · Palette generator →

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