#A256F7#A256F7

#A256F7 is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.2% C 0.230 H 301.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A256F7
RGBrgb(162, 86, 247)
HSLhsl(268, 91%, 65%)
HSVhsv(268, 65%, 97%)
CMYKcmyk(34.4%, 65.2%, 0%, 3.1%)
CIE-LABlab(53.01, 60.98, -68.86)
CIE-LCHlch(53.01, 91.98, 311.53°)
OKLaboklab(62.15% 0.1209 -0.1958)
OKLCHoklch(62.15% 0.23 301.7)
XYZxyz(35.0126, 21.0522, 90.1966)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A256F7 #ABF756
analogous
#565AF7 #A256F7 #F256F7
triadic
#A256F7 #F7A256 #56F7A2
tetradic
#A256F7 #F7565A #ABF756 #56F7F2
square
#A256F7 #F7565A #ABF756 #56F7F2
split-complementary
#A256F7 #F7F256 #5AF756
monochromatic
#640AC9 #821CF4 #A256F7 #C290FA #E2CBFD

Accessibility & contrast

On white

4.03
#A256F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#A256F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A256F7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A256F7#FFFFFF#000000##000000
##A256F71.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFC
Deuteranopia (green-blind)
#037EF4
Tritanopia (blue-blind)
#907A9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a256f7;
/* rgb */ color: rgb(162, 86, 247);
/* oklch */ color: oklch(62.2% 0.230 301.7);
Tailwind
colors: {
  custom: {
    50: '#c38afb',
    500: '#a256f7',
    950: '#000000',
  },
}
SCSS
$custom: #a256f7;
$custom-light: #c38afb;
$custom-dark: #000000;
JSON
{
  "hex": "#a256f7",
  "rgb": {
    "r": 162,
    "g": 86,
    "b": 247
  },
  "hsl": {
    "h": 268.323,
    "s": 90.96,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62153,
    "c": 0.23011,
    "h": 301.7
  },
  "luminance": 0.21052
}

Semantic roles & 50–950 ramp

primary
#A256F7
secondary
#D6F0B9
accent
#E60079
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A256F7

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

Preview Lab → · Contrast checker → · Palette generator →

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