#A257DE#A257DE

#A257DE is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.6% C 0.202 H 307.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A257DE
RGBrgb(162, 87, 222)
HSLhsl(273, 67%, 61%)
HSVhsv(273, 61%, 87%)
CMYKcmyk(27%, 60.8%, 0%, 12.9%)
CIE-LABlab(51.58, 54.69, -57.12)
CIE-LCHlch(51.58, 79.08, 313.76°)
OKLaboklab(60.61% 0.1214 -0.1613)
OKLCHoklch(60.61% 0.202 307)
XYZxyz(31.4905, 19.7721, 71.2505)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A257DE #93DE57
analogous
#5E57DE #A257DE #DE57D7
triadic
#A257DE #DEA257 #57DEA2
tetradic
#A257DE #DE5E57 #93DE57 #57D7DE
square
#A257DE #DE5E57 #93DE57 #57D7DE
split-complementary
#A257DE #D7DE57 #57DE5E
monochromatic
#641F9C #8529CF #A257DE #BE8AE8 #DBBDF2

Accessibility & contrast

On white

4.24
#A257DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#A257DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A257DE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A257DE#FFFFFF#000000##000000
##A257DE1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1178E2
Deuteranopia (green-blind)
#3E7CDB
Tritanopia (blue-blind)
#987292
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a257de;
/* rgb */ color: rgb(162, 87, 222);
/* oklch */ color: oklch(60.6% 0.202 307.0);
Tailwind
colors: {
  custom: {
    50: '#c18ae9',
    500: '#a257de',
    950: '#000000',
  },
}
SCSS
$custom: #a257de;
$custom-light: #c18ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#a257de",
  "rgb": {
    "r": 162,
    "g": 87,
    "b": 222
  },
  "hsl": {
    "h": 273.333,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60609,
    "c": 0.20192,
    "h": 307
  },
  "luminance": 0.19772
}

Semantic roles & 50–950 ramp

primary
#A257DE
secondary
#C6E2AF
accent
#CF1668
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A257DE

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

Preview Lab → · Contrast checker → · Palette generator →

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