#A257EE#A257EE

#A257EE is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.7% C 0.219 H 303.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A257EE
RGBrgb(162, 87, 238)
HSLhsl(270, 82%, 64%)
HSVhsv(270, 63%, 93%)
CMYKcmyk(31.9%, 63.4%, 0%, 6.7%)
CIE-LABlab(52.59, 58.39, -64.51)
CIE-LCHlch(52.59, 87.01, 312.15°)
OKLaboklab(61.66% 0.1206 -0.183)
OKLCHoklch(61.66% 0.219 303.4)
XYZxyz(33.7376, 20.6709, 83.0848)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A257EE #A3EE57
analogous
#5757EE #A257EE #ED57EE
triadic
#A257EE #EEA257 #57EEA2
tetradic
#A257EE #EE5757 #A3EE57 #57EEED
square
#A257EE #EE5757 #A3EE57 #57EEED
split-complementary
#A257EE #EEED57 #57EE57
monochromatic
#6513B8 #831FE8 #A257EE #C18FF4 #E0C6F9

Accessibility & contrast

On white

4.09
#A257EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#A257EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A257EE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A257EE#FFFFFF#000000##000000
##A257EE1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF3
Deuteranopia (green-blind)
#267DEB
Tritanopia (blue-blind)
#93789B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a257ee;
/* rgb */ color: rgb(162, 87, 238);
/* oklch */ color: oklch(61.7% 0.219 303.4);
Tailwind
colors: {
  custom: {
    50: '#c28af4',
    500: '#a257ee',
    950: '#000000',
  },
}
SCSS
$custom: #a257ee;
$custom-light: #c28af4;
$custom-dark: #000000;
JSON
{
  "hex": "#a257ee",
  "rgb": {
    "r": 162,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 269.801,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61662,
    "c": 0.21918,
    "h": 303.4
  },
  "luminance": 0.20671
}

Semantic roles & 50–950 ramp

primary
#A257EE
secondary
#D1EBB6
accent
#DE0873
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A257EE

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

Preview Lab → · Contrast checker → · Palette generator →

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