#A254ED#A254ED

#A254ED is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 61.2% C 0.222 H 303.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A254ED
RGBrgb(162, 84, 237)
HSLhsl(271, 81%, 63%)
HSVhsv(271, 65%, 93%)
CMYKcmyk(31.6%, 64.6%, 0%, 7.1%)
CIE-LABlab(51.99, 59.61, -64.91)
CIE-LCHlch(51.99, 88.12, 312.56°)
OKLaboklab(61.21% 0.124 -0.1842)
OKLCHoklch(61.21% 0.222 303.9)
XYZxyz(33.3532, 20.1365, 82.2340)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A254ED #9FED54
analogous
#5554ED #A254ED #ED54EC
triadic
#A254ED #EDA254 #54EDA2
tetradic
#A254ED #ED5554 #9FED54 #54ECED
square
#A254ED #ED5554 #9FED54 #54ECED
split-complementary
#A254ED #ECED54 #54ED55
monochromatic
#6513B4 #841DE7 #A254ED #C08BF3 #DEC3F9

Accessibility & contrast

On white

4.18
#A254ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#A254ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A254ED
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A254ED#FFFFFF#000000##000000
##A254ED1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#227CEA
Tritanopia (blue-blind)
#947599
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a254ed;
/* rgb */ color: rgb(162, 84, 237);
/* oklch */ color: oklch(61.2% 0.222 303.9);
Tailwind
colors: {
  custom: {
    50: '#c289f4',
    500: '#a254ed',
    950: '#000000',
  },
}
SCSS
$custom: #a254ed;
$custom-light: #c289f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a254ed",
  "rgb": {
    "r": 162,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 270.588,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61211,
    "c": 0.22203,
    "h": 303.9
  },
  "luminance": 0.20136
}

Semantic roles & 50–950 ramp

primary
#A254ED
secondary
#CEEAB3
accent
#DD0871
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A254ED

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

Preview Lab → · Contrast checker → · Palette generator →

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