#9256DD#9256DD

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

Color values

HEX#9256DD
RGBrgb(146, 86, 221)
HSLhsl(267, 67%, 60%)
HSVhsv(267, 61%, 87%)
CMYKcmyk(33.9%, 61.1%, 0%, 13.3%)
CIE-LABlab(49.48, 51.36, -60.03)
CIE-LCHlch(49.48, 79.00, 310.55°)
OKLaboklab(58.66% 0.102 -0.1704)
OKLCHoklch(58.66% 0.199 300.9)
XYZxyz(28.2299, 17.9869, 70.3771)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256DD #A1DD56
analogous
#565DDD #9256DD #D656DD
triadic
#9256DD #DD9256 #56DD92
tetradic
#9256DD #DD565D #A1DD56 #56DDD6
square
#9256DD #DD565D #A1DD56 #56DDD6
split-complementary
#9256DD #DDD656 #5DDD56
monochromatic
#551F9A #7229CD #9256DD #B389E7 #D4BCF2

Accessibility & contrast

On white

4.57
#9256DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9256DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9256DD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256DD#FFFFFF#000000##000000
##9256DD1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#2875DA
Tritanopia (blue-blind)
#827392
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9256dd;
/* rgb */ color: rgb(146, 86, 221);
/* oklch */ color: oklch(58.7% 0.199 300.9);
Tailwind
colors: {
  custom: {
    50: '#b788e8',
    500: '#9256dd',
    950: '#000000',
  },
}
SCSS
$custom: #9256dd;
$custom-light: #b788e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9256dd",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 266.667,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58655,
    "c": 0.19857,
    "h": 300.9
  },
  "luminance": 0.17987
}

Semantic roles & 50–950 ramp

primary
#9256DD
secondary
#CAE1AE
accent
#CE177D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9256DD

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

Preview Lab → · Contrast checker → · Palette generator →

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