#A254DA#A254DA

#A254DA is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.0% C 0.202 H 308.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A254DA
RGBrgb(162, 84, 218)
HSLhsl(275, 64%, 59%)
HSVhsv(275, 61%, 85%)
CMYKcmyk(25.7%, 61.5%, 0%, 14.5%)
CIE-LABlab(50.79, 55.28, -56.13)
CIE-LCHlch(50.79, 78.77, 314.56°)
OKLaboklab(59.96% 0.1251 -0.1584)
OKLCHoklch(59.96% 0.202 308.3)
XYZxyz(30.7229, 19.0844, 68.3813)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A254DA #8CDA54
analogous
#5F54DA #A254DA #DA54CF
triadic
#A254DA #DAA254 #54DAA2
tetradic
#A254DA #DA5F54 #8CDA54 #54CFDA
square
#A254DA #DA5F54 #8CDA54 #54CFDA
split-complementary
#A254DA #CFDA54 #54DA5F
monochromatic
#632094 #852BC6 #A254DA #BD86E5 #D9B9F0

Accessibility & contrast

On white

4.36
#A254DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#A254DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A254DA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A254DA#FFFFFF#000000##000000
##A254DA1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F76DE
Deuteranopia (green-blind)
#3F7AD7
Tritanopia (blue-blind)
#9A6F8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a254da;
/* rgb */ color: rgb(162, 84, 218);
/* oklch */ color: oklch(60.0% 0.202 308.3);
Tailwind
colors: {
  custom: {
    50: '#c188e6',
    500: '#a254da',
    950: '#000000',
  },
}
SCSS
$custom: #a254da;
$custom-light: #c188e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a254da",
  "rgb": {
    "r": 162,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 274.925,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59956,
    "c": 0.20184,
    "h": 308.3
  },
  "luminance": 0.19084
}

Semantic roles & 50–950 ramp

primary
#A254DA
secondary
#C1DFAB
accent
#E74086
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A254DA

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

Preview Lab → · Contrast checker → · Palette generator →

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