#A256FA#A256FA

#A256FA is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.4% C 0.233 H 301.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A256FA
RGBrgb(162, 86, 250)
HSLhsl(268, 94%, 66%)
HSVhsv(268, 66%, 98%)
CMYKcmyk(35.2%, 65.6%, 0%, 2%)
CIE-LABlab(53.21, 61.69, -70.20)
CIE-LCHlch(53.21, 93.45, 311.31°)
OKLaboklab(62.36% 0.1205 -0.1997)
OKLCHoklch(62.36% 0.233 301.1)
XYZxyz(35.4792, 21.2389, 92.6543)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256FA #AEFA56
analogous
#565CFA #A256FA #F456FA
triadic
#A256FA #FAA256 #56FAA2
tetradic
#A256FA #FA565C #AEFA56 #56FAF4
square
#A256FA #FA565C #AEFA56 #56FAF4
split-complementary
#A256FA #FAF456 #5CFA56
monochromatic
#6306CF #811BF8 #A256FA #C391FC #E3CDFE

Accessibility & contrast

On white

4.00
#A256FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#A256FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256FA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256FA#FFFFFF#000000##000000
##A256FA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#007EF7
Tritanopia (blue-blind)
#8F7BA1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a256fa;
/* rgb */ color: rgb(162, 86, 250);
/* oklch */ color: oklch(62.4% 0.233 301.1);
Tailwind
colors: {
  custom: {
    50: '#c38afd',
    500: '#a256fa',
    950: '#000000',
  },
}
SCSS
$custom: #a256fa;
$custom-light: #c38afd;
$custom-dark: #000000;
JSON
{
  "hex": "#a256fa",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 250
  },
  "hsl": {
    "h": 267.805,
    "s": 94.253,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62363,
    "c": 0.2333,
    "h": 301.1
  },
  "luminance": 0.21239
}

Semantic roles & 50–950 ramp

primary
#A256FA
secondary
#D8F1BB
accent
#E6007B
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #A256FA

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

Preview Lab → · Contrast checker → · Palette generator →

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