#A256CB#A256CB

#A256CB is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.3% C 0.183 H 312.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A256CB
RGBrgb(162, 86, 203)
HSLhsl(279, 53%, 57%)
HSVhsv(279, 58%, 80%)
CMYKcmyk(20.2%, 57.6%, 0%, 20.4%)
CIE-LABlab(50.27, 50.96, -48.38)
CIE-LCHlch(50.27, 70.27, 316.49°)
OKLaboklab(59.3% 0.1226 -0.1357)
OKLCHoklch(59.3% 0.183 312.1)
XYZxyz(29.0057, 18.6495, 58.5601)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256CB #7FCB56
analogous
#6856CB #A256CB #CB56BA
triadic
#A256CB #CBA256 #56CBA2
tetradic
#A256CB #CB6856 #7FCB56 #56BACB
square
#A256CB #CB6856 #7FCB56 #56BACB
split-complementary
#A256CB #BACB56 #56CB68
monochromatic
#60277F #8436AE #A256CB #BC85D9 #D6B4E8

Accessibility & contrast

On white

4.44
#A256CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#A256CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256CB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256CB#FFFFFF#000000##000000
##A256CB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3174CF
Deuteranopia (green-blind)
#4E79C8
Tritanopia (blue-blind)
#9E6B88
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a256cb;
/* rgb */ color: rgb(162, 86, 203);
/* oklch */ color: oklch(59.3% 0.183 312.1);
Tailwind
colors: {
  custom: {
    50: '#c089db',
    500: '#a256cb',
    950: '#000000',
  },
}
SCSS
$custom: #a256cb;
$custom-light: #c089db;
$custom-dark: #000000;
JSON
{
  "hex": "#a256cb",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 278.974,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.593,
    "c": 0.18293,
    "h": 312.1
  },
  "luminance": 0.18649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A256CB

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

Preview Lab → · Contrast checker → · Palette generator →

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