#A254CA#A254CA

#A254CA is a mid, vivid violet. Relative luminance 0.183; OKLCH L 59.0% C 0.185 H 312.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A254CA
RGBrgb(162, 84, 202)
HSLhsl(280, 53%, 56%)
HSVhsv(280, 58%, 79%)
CMYKcmyk(19.8%, 58.4%, 0%, 20.8%)
CIE-LABlab(49.84, 51.75, -48.49)
CIE-LCHlch(49.84, 70.92, 316.86°)
OKLaboklab(58.97% 0.1252 -0.1361)
OKLCHoklch(58.97% 0.185 312.6)
XYZxyz(28.7294, 18.2870, 57.8820)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A254CA #7CCA54
analogous
#6754CA #A254CA #CA54B7
triadic
#A254CA #CAA254 #54CAA2
tetradic
#A254CA #CA6754 #7CCA54 #54B7CA
square
#A254CA #CA6754 #7CCA54 #54B7CA
split-complementary
#A254CA #B7CA54 #54CA67
monochromatic
#60277D #8335AC #A254CA #BB83D8 #D5B1E7

Accessibility & contrast

On white

4.51
#A254CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A254CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A254CA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A254CA#FFFFFF#000000##000000
##A254CA1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E72CE
Deuteranopia (green-blind)
#4D78C7
Tritanopia (blue-blind)
#9E6987
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a254ca;
/* rgb */ color: rgb(162, 84, 202);
/* oklch */ color: oklch(59.0% 0.185 312.6);
Tailwind
colors: {
  custom: {
    50: '#c088db',
    500: '#a254ca',
    950: '#000000',
  },
}
SCSS
$custom: #a254ca;
$custom-light: #c088db;
$custom-dark: #000000;
JSON
{
  "hex": "#a254ca",
  "rgb": {
    "r": 162,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 279.661,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58966,
    "c": 0.18487,
    "h": 312.6
  },
  "luminance": 0.18286
}

Semantic roles & 50–950 ramp

primary
#A254CA
secondary
#B5D5A5
accent
#DC4C7D
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A254CA

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

Preview Lab → · Contrast checker → · Palette generator →

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