#A256CF#A256CF

#A256CF is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.5% C 0.187 H 311.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A256CF
RGBrgb(162, 86, 207)
HSLhsl(278, 56%, 57%)
HSVhsv(278, 58%, 81%)
CMYKcmyk(21.7%, 58.5%, 0%, 18.8%)
CIE-LABlab(50.50, 51.84, -50.31)
CIE-LCHlch(50.50, 72.24, 315.86°)
OKLaboklab(59.54% 0.1227 -0.1414)
OKLCHoklch(59.54% 0.187 311)
XYZxyz(29.4885, 18.8426, 61.1029)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256CF #83CF56
analogous
#6656CF #A256CF #CF56BF
triadic
#A256CF #CFA256 #56CFA2
tetradic
#A256CF #CF6656 #83CF56 #56BFCF
square
#A256CF #CF6656 #83CF56 #56BFCF
split-complementary
#A256CF #BFCF56 #56CF66
monochromatic
#612685 #8433B5 #A256CF #BC86DD #D6B5EA

Accessibility & contrast

On white

4.40
#A256CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A256CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256CF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256CF#FFFFFF#000000##000000
##A256CF1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C75D3
Deuteranopia (green-blind)
#4B7ACC
Tritanopia (blue-blind)
#9D6C8A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a256cf;
/* rgb */ color: rgb(162, 86, 207);
/* oklch */ color: oklch(59.5% 0.187 311.0);
Tailwind
colors: {
  custom: {
    50: '#c189de',
    500: '#a256cf',
    950: '#000000',
  },
}
SCSS
$custom: #a256cf;
$custom-light: #c189de;
$custom-dark: #000000;
JSON
{
  "hex": "#a256cf",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 277.686,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5954,
    "c": 0.18721,
    "h": 311
  },
  "luminance": 0.18842
}

Semantic roles & 50–950 ramp

primary
#A256CF
secondary
#BAD9A8
accent
#DF4981
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A256CF

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

Preview Lab → · Contrast checker → · Palette generator →

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