#9256DC#9256DC

#9256DC is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.6% C 0.197 H 301.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9256DC
RGBrgb(146, 86, 220)
HSLhsl(267, 66%, 60%)
HSVhsv(267, 61%, 86%)
CMYKcmyk(33.6%, 60.9%, 0%, 13.7%)
CIE-LABlab(49.42, 51.11, -59.56)
CIE-LCHlch(49.42, 78.49, 310.63°)
OKLaboklab(58.59% 0.1021 -0.169)
OKLCHoklch(58.59% 0.197 301.1)
XYZxyz(28.0970, 17.9337, 69.6776)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256DC #A0DC56
analogous
#565DDC #9256DC #D556DC
triadic
#9256DC #DC9256 #56DC92
tetradic
#9256DC #DC565D #A0DC56 #56DCD5
square
#9256DC #DC565D #A0DC56 #56DCD5
split-complementary
#9256DC #DCD556 #5DDC56
monochromatic
#562098 #722ACB #9256DC #B389E6 #D3BBF1

Accessibility & contrast

On white

4.58
#9256DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9256DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9256DC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256DC#FFFFFF#000000##000000
##9256DC1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#2975D9
Tritanopia (blue-blind)
#837291
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9256dc;
/* rgb */ color: rgb(146, 86, 220);
/* oklch */ color: oklch(58.6% 0.197 301.1);
Tailwind
colors: {
  custom: {
    50: '#b688e8',
    500: '#9256dc',
    950: '#000000',
  },
}
SCSS
$custom: #9256dc;
$custom-light: #b688e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9256dc",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 266.866,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.58587,
    "c": 0.19742,
    "h": 301.1
  },
  "luminance": 0.17934
}

Semantic roles & 50–950 ramp

primary
#9256DC
secondary
#CAE1AD
accent
#E93F9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9256DC

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

Preview Lab → · Contrast checker → · Palette generator →

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