#9256DB#9256DB

#9256DB is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.5% C 0.196 H 301.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9256DB
RGBrgb(146, 86, 219)
HSLhsl(267, 65%, 60%)
HSVhsv(267, 61%, 86%)
CMYKcmyk(33.3%, 60.7%, 0%, 14.1%)
CIE-LABlab(49.35, 50.87, -59.10)
CIE-LCHlch(49.35, 77.98, 310.72°)
OKLaboklab(58.52% 0.1021 -0.1676)
OKLCHoklch(58.52% 0.196 301.3)
XYZxyz(27.9650, 17.8809, 68.9822)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256DB #9FDB56
analogous
#565CDB #9256DB #D556DB
triadic
#9256DB #DB9256 #56DB92
tetradic
#9256DB #DB565C #9FDB56 #56DBD5
square
#9256DB #DB565C #9FDB56 #56DBD5
split-complementary
#9256DB #DBD556 #5CDB56
monochromatic
#562097 #722BC9 #9256DB #B388E6 #D3BBF0

Accessibility & contrast

On white

4.59
#9256DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9256DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9256DB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256DB#FFFFFF#000000##FFFFFF
##9256DB1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#2B75D8
Tritanopia (blue-blind)
#837290
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9256db;
/* rgb */ color: rgb(146, 86, 219);
/* oklch */ color: oklch(58.5% 0.196 301.3);
Tailwind
colors: {
  custom: {
    50: '#b688e7',
    500: '#9256db',
    950: '#000000',
  },
}
SCSS
$custom: #9256db;
$custom-light: #b688e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9256db",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 267.068,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5852,
    "c": 0.19628,
    "h": 301.3
  },
  "luminance": 0.17881
}

Semantic roles & 50–950 ramp

primary
#9256DB
secondary
#C9E0AD
accent
#E8409C
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9256DB

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

Preview Lab → · Contrast checker → · Palette generator →

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