#A256CA#A256CA

#A256CA is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.2% C 0.182 H 312.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A256CA
RGBrgb(162, 86, 202)
HSLhsl(279, 52%, 56%)
HSVhsv(279, 57%, 79%)
CMYKcmyk(19.8%, 57.4%, 0%, 20.8%)
CIE-LABlab(50.22, 50.75, -47.90)
CIE-LCHlch(50.22, 69.78, 316.65°)
OKLaboklab(59.24% 0.1226 -0.1343)
OKLCHoklch(59.24% 0.182 312.4)
XYZxyz(28.8869, 18.6019, 57.9345)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256CA #7ECA56
analogous
#6856CA #A256CA #CA56B8
triadic
#A256CA #CAA256 #56CAA2
tetradic
#A256CA #CA6856 #7ECA56 #56B8CA
square
#A256CA #CA6856 #7ECA56 #56B8CA
split-complementary
#A256CA #B8CA56 #56CA68
monochromatic
#60287E #8436AD #A256CA #BC85D9 #D5B3E7

Accessibility & contrast

On white

4.45
#A256CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A256CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256CA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256CA#FFFFFF#000000##000000
##A256CA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3274CE
Deuteranopia (green-blind)
#4F79C7
Tritanopia (blue-blind)
#9E6A88
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a256ca;
/* rgb */ color: rgb(162, 86, 202);
/* oklch */ color: oklch(59.2% 0.182 312.4);
Tailwind
colors: {
  custom: {
    50: '#c089db',
    500: '#a256ca',
    950: '#000000',
  },
}
SCSS
$custom: #a256ca;
$custom-light: #c089db;
$custom-dark: #000000;
JSON
{
  "hex": "#a256ca",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 279.31,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5924,
    "c": 0.18186,
    "h": 312.4
  },
  "luminance": 0.18601
}

Semantic roles & 50–950 ramp

primary
#A256CA
secondary
#B7D6A6
accent
#DC4C7E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A256CA

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

Preview Lab → · Contrast checker → · Palette generator →

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