#A254DD#A254DD

#A254DD is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.1% C 0.205 H 307.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A254DD
RGBrgb(162, 84, 221)
HSLhsl(274, 67%, 60%)
HSVhsv(274, 62%, 87%)
CMYKcmyk(26.7%, 62%, 0%, 13.3%)
CIE-LABlab(50.97, 55.95, -57.53)
CIE-LCHlch(50.97, 80.25, 314.20°)
OKLaboklab(60.15% 0.125 -0.1625)
OKLCHoklch(60.15% 0.205 307.6)
XYZxyz(31.1191, 19.2429, 70.4675)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A254DD #8FDD54
analogous
#5E54DD #A254DD #DD54D3
triadic
#A254DD #DDA254 #54DDA2
tetradic
#A254DD #DD5E54 #8FDD54 #54D3DD
square
#A254DD #DD5E54 #8FDD54 #54D3DD
split-complementary
#A254DD #D3DD54 #54DD5E
monochromatic
#641E98 #8528CB #A254DD #BE87E7 #DABAF1

Accessibility & contrast

On white

4.33
#A254DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#A254DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A254DD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A254DD#FFFFFF#000000##000000
##A254DD1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0177E1
Deuteranopia (green-blind)
#3B7ADA
Tritanopia (blue-blind)
#997091
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a254dd;
/* rgb */ color: rgb(162, 84, 221);
/* oklch */ color: oklch(60.1% 0.205 307.6);
Tailwind
colors: {
  custom: {
    50: '#c188e8',
    500: '#a254dd',
    950: '#000000',
  },
}
SCSS
$custom: #a254dd;
$custom-light: #c188e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a254dd",
  "rgb": {
    "r": 162,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 274.161,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60148,
    "c": 0.20503,
    "h": 307.6
  },
  "luminance": 0.19242
}

Semantic roles & 50–950 ramp

primary
#A254DD
secondary
#C3E1AC
accent
#EA3E88
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A254DD

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

Preview Lab → · Contrast checker → · Palette generator →

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