#A256DB#A256DB

#A256DB is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.200 H 307.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A256DB
RGBrgb(162, 86, 219)
HSLhsl(274, 65%, 60%)
HSVhsv(274, 61%, 86%)
CMYKcmyk(26%, 60.7%, 0%, 14.1%)
CIE-LABlab(51.21, 54.51, -56.01)
CIE-LCHlch(51.21, 78.16, 314.22°)
OKLaboklab(60.28% 0.1227 -0.1581)
OKLCHoklch(60.28% 0.2 307.8)
XYZxyz(31.0117, 19.4519, 69.1250)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256DB #8FDB56
analogous
#6056DB #A256DB #DB56D1
triadic
#A256DB #DBA256 #56DBA2
tetradic
#A256DB #DB6056 #8FDB56 #56D1DB
square
#A256DB #DB6056 #8FDB56 #56D1DB
split-complementary
#A256DB #D1DB56 #56DB60
monochromatic
#642097 #852BC9 #A256DB #BE88E6 #DABBF0

Accessibility & contrast

On white

4.29
#A256DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#A256DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256DB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256DB#FFFFFF#000000##000000
##A256DB1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1677DF
Deuteranopia (green-blind)
#407BD8
Tritanopia (blue-blind)
#997091
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a256db;
/* rgb */ color: rgb(162, 86, 219);
/* oklch */ color: oklch(60.3% 0.200 307.8);
Tailwind
colors: {
  custom: {
    50: '#c189e7',
    500: '#a256db',
    950: '#000000',
  },
}
SCSS
$custom: #a256db;
$custom-light: #c189e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a256db",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 274.286,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60284,
    "c": 0.2001,
    "h": 307.8
  },
  "luminance": 0.19451
}

Semantic roles & 50–950 ramp

primary
#A256DB
secondary
#C3E0AD
accent
#E84088
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A256DB

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

Preview Lab → · Contrast checker → · Palette generator →

#A256DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva