#A256FC#A256FC

#A256FC is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.5% C 0.235 H 300.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A256FC
RGBrgb(162, 86, 252)
HSLhsl(267, 97%, 66%)
HSVhsv(267, 66%, 99%)
CMYKcmyk(35.7%, 65.9%, 0%, 1.2%)
CIE-LABlab(53.35, 62.17, -71.09)
CIE-LCHlch(53.35, 94.43, 311.17°)
OKLaboklab(62.5% 0.1203 -0.2024)
OKLCHoklch(62.5% 0.235 300.7)
XYZxyz(35.7945, 21.3650, 94.3146)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256FC #B0FC56
analogous
#565DFC #A256FC #F556FC
triadic
#A256FC #FCA256 #56FCA2
tetradic
#A256FC #FC565D #B0FC56 #56FCF5
square
#A256FC #FC565D #B0FC56 #56FCF5
split-complementary
#A256FC #FCF556 #5DFC56
monochromatic
#6304D4 #811AFB #A256FC #C392FD #E4CEFE

Accessibility & contrast

On white

3.98
#A256FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#A256FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256FC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256FC#FFFFFF#000000##000000
##A256FC1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#007EF8
Tritanopia (blue-blind)
#8E7CA2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a256fc;
/* rgb */ color: rgb(162, 86, 252);
/* oklch */ color: oklch(62.5% 0.235 300.7);
Tailwind
colors: {
  custom: {
    50: '#c38afe',
    500: '#a256fc',
    950: '#000000',
  },
}
SCSS
$custom: #a256fc;
$custom-light: #c38afe;
$custom-dark: #000000;
JSON
{
  "hex": "#a256fc",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 252
  },
  "hsl": {
    "h": 267.47,
    "s": 96.512,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62504,
    "c": 0.23544,
    "h": 300.7
  },
  "luminance": 0.21365
}

Semantic roles & 50–950 ramp

primary
#A256FC
secondary
#D9F2BC
accent
#E6007C
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #A256FC

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

Preview Lab → · Contrast checker → · Palette generator →

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