#A256FB#A256FB

#A256FB is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.4% C 0.234 H 300.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A256FB
RGBrgb(162, 86, 251)
HSLhsl(268, 95%, 66%)
HSVhsv(268, 66%, 98%)
CMYKcmyk(35.5%, 65.7%, 0%, 1.6%)
CIE-LABlab(53.28, 61.93, -70.64)
CIE-LCHlch(53.28, 93.94, 311.24°)
OKLaboklab(62.43% 0.1204 -0.2011)
OKLCHoklch(62.43% 0.234 300.9)
XYZxyz(35.6365, 21.3018, 93.4823)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256FB #AFFB56
analogous
#565CFB #A256FB #F456FB
triadic
#A256FB #FBA256 #56FBA2
tetradic
#A256FB #FB565C #AFFB56 #56FBF4
square
#A256FB #FB565C #AFFB56 #56FBF4
split-complementary
#A256FB #FBF456 #5CFB56
monochromatic
#6305D2 #811AFA #A256FB #C392FC #E4CEFE

Accessibility & contrast

On white

3.99
#A256FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#A256FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256FB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256FB#FFFFFF#000000##000000
##A256FB1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a256fb;
/* rgb */ color: rgb(162, 86, 251);
/* oklch */ color: oklch(62.4% 0.234 300.9);
Tailwind
colors: {
  custom: {
    50: '#c38afe',
    500: '#a256fb',
    950: '#000000',
  },
}
SCSS
$custom: #a256fb;
$custom-light: #c38afe;
$custom-dark: #000000;
JSON
{
  "hex": "#a256fb",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 251
  },
  "hsl": {
    "h": 267.636,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62434,
    "c": 0.23437,
    "h": 300.9
  },
  "luminance": 0.21302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A256FB

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

Preview Lab → · Contrast checker → · Palette generator →

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