#A257E0#A257E0

#A257E0 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.7% C 0.204 H 306.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A257E0
RGBrgb(162, 87, 224)
HSLhsl(273, 69%, 61%)
HSVhsv(273, 61%, 88%)
CMYKcmyk(27.7%, 61.2%, 0%, 12.2%)
CIE-LABlab(51.70, 55.15, -58.06)
CIE-LCHlch(51.70, 80.07, 313.53°)
OKLaboklab(60.74% 0.1214 -0.1641)
OKLCHoklch(60.74% 0.204 306.5)
XYZxyz(31.7602, 19.8799, 72.6706)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A257E0 #95E057
analogous
#5D57E0 #A257E0 #E057D9
triadic
#A257E0 #E0A257 #57E0A2
tetradic
#A257E0 #E05D57 #95E057 #57D9E0
square
#A257E0 #E05D57 #95E057 #57D9E0
split-complementary
#A257E0 #D9E057 #57E05D
monochromatic
#641D9F #8527D3 #A257E0 #BF8BEA #DBBEF3

Accessibility & contrast

On white

4.22
#A257E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A257E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A257E0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A257E0#FFFFFF#000000##000000
##A257E01.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0979E4
Deuteranopia (green-blind)
#3C7CDD
Tritanopia (blue-blind)
#987394
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a257e0;
/* rgb */ color: rgb(162, 87, 224);
/* oklch */ color: oklch(60.7% 0.204 306.5);
Tailwind
colors: {
  custom: {
    50: '#c18aea',
    500: '#a257e0',
    950: '#000000',
  },
}
SCSS
$custom: #a257e0;
$custom-light: #c18aea;
$custom-dark: #000000;
JSON
{
  "hex": "#a257e0",
  "rgb": {
    "r": 162,
    "g": 87,
    "b": 224
  },
  "hsl": {
    "h": 272.847,
    "s": 68.844,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60738,
    "c": 0.20408,
    "h": 306.5
  },
  "luminance": 0.1988
}

Semantic roles & 50–950 ramp

primary
#A257E0
secondary
#C7E3B0
accent
#D1156A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A257E0

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

Preview Lab → · Contrast checker → · Palette generator →

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