#A256CC#A256CC

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

Color values

HEX#A256CC
RGBrgb(162, 86, 204)
HSLhsl(279, 54%, 57%)
HSVhsv(279, 58%, 80%)
CMYKcmyk(20.6%, 57.8%, 0%, 20%)
CIE-LABlab(50.33, 51.18, -48.86)
CIE-LCHlch(50.33, 70.76, 316.33°)
OKLaboklab(59.36% 0.1227 -0.1371)
OKLCHoklch(59.36% 0.184 311.8)
XYZxyz(29.1252, 18.6973, 59.1897)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256CC #80CC56
analogous
#6756CC #A256CC #CC56BB
triadic
#A256CC #CCA256 #56CCA2
tetradic
#A256CC #CC6756 #80CC56 #56BBCC
square
#A256CC #CC6756 #80CC56 #56BBCC
split-complementary
#A256CC #BBCC56 #56CC67
monochromatic
#612781 #8435B0 #A256CC #BC85DA #D6B4E8

Accessibility & contrast

On white

4.43
#A256CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A256CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256CC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256CC#FFFFFF#000000##000000
##A256CC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3074D0
Deuteranopia (green-blind)
#4D79C9
Tritanopia (blue-blind)
#9D6B89
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a256cc;
/* rgb */ color: rgb(162, 86, 204);
/* oklch */ color: oklch(59.4% 0.184 311.8);
Tailwind
colors: {
  custom: {
    50: '#c089dc',
    500: '#a256cc',
    950: '#000000',
  },
}
SCSS
$custom: #a256cc;
$custom-light: #c089dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a256cc",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 278.644,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59359,
    "c": 0.18399,
    "h": 311.8
  },
  "luminance": 0.18697
}

Semantic roles & 50–950 ramp

primary
#A256CC
secondary
#B8D7A7
accent
#DD4B7F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A256CC

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

Preview Lab → · Contrast checker → · Palette generator →

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