#A256CD#A256CD

#A256CD is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.4% C 0.185 H 311.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A256CD
RGBrgb(162, 86, 205)
HSLhsl(278, 54%, 57%)
HSVhsv(278, 58%, 80%)
CMYKcmyk(21%, 58%, 0%, 19.6%)
CIE-LABlab(50.39, 51.40, -49.35)
CIE-LCHlch(50.39, 71.25, 316.17°)
OKLaboklab(59.42% 0.1227 -0.1385)
OKLCHoklch(59.42% 0.185 311.5)
XYZxyz(29.2455, 18.7454, 59.8234)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256CD #81CD56
analogous
#6656CD #A256CD #CD56BD
triadic
#A256CD #CDA256 #56CDA2
tetradic
#A256CD #CD6656 #81CD56 #56BDCD
square
#A256CD #CD6656 #81CD56 #56BDCD
split-complementary
#A256CD #BDCD56 #56CD66
monochromatic
#612682 #8434B1 #A256CD #BC85DB #D6B4E9

Accessibility & contrast

On white

4.42
#A256CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A256CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256CD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256CD#FFFFFF#000000##000000
##A256CD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D1
Deuteranopia (green-blind)
#4D79CA
Tritanopia (blue-blind)
#9D6B89
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a256cd;
/* rgb */ color: rgb(162, 86, 205);
/* oklch */ color: oklch(59.4% 0.185 311.5);
Tailwind
colors: {
  custom: {
    50: '#c089dd',
    500: '#a256cd',
    950: '#000000',
  },
}
SCSS
$custom: #a256cd;
$custom-light: #c089dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a256cd",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 278.319,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59419,
    "c": 0.18506,
    "h": 311.5
  },
  "luminance": 0.18745
}

Semantic roles & 50–950 ramp

primary
#A256CD
secondary
#B9D8A7
accent
#DE4A7F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A256CD

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

Preview Lab → · Contrast checker → · Palette generator →

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