#A954EC#A954EC

#A954EC is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.9% C 0.223 H 306.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A954EC
RGBrgb(169, 84, 236)
HSLhsl(274, 80%, 63%)
HSVhsv(274, 64%, 93%)
CMYKcmyk(28.4%, 64.4%, 0%, 7.5%)
CIE-LABlab(52.77, 60.85, -63.06)
CIE-LCHlch(52.77, 87.63, 313.98°)
OKLaboklab(61.93% 0.133 -0.1785)
OKLCHoklch(61.93% 0.223 306.7)
XYZxyz(34.6696, 20.8322, 81.5352)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A954EC #97EC54
analogous
#5D54EC #A954EC #EC54E3
triadic
#A954EC #ECA954 #54ECA9
tetradic
#A954EC #EC5D54 #97EC54 #54E3EC
square
#A954EC #EC5D54 #97EC54 #54E3EC
split-complementary
#A954EC #E3EC54 #54EC5D
monochromatic
#6C14B2 #8D1DE6 #A954EC #C58BF2 #E0C2F8

Accessibility & contrast

On white

4.06
#A954EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#A954EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A954EC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A954EC#FFFFFF#000000##000000
##A954EC1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF1
Deuteranopia (green-blind)
#317FE9
Tritanopia (blue-blind)
#9E7499
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a954ec;
/* rgb */ color: rgb(169, 84, 236);
/* oklch */ color: oklch(61.9% 0.223 306.7);
Tailwind
colors: {
  custom: {
    50: '#c789f3',
    500: '#a954ec',
    950: '#000000',
  },
}
SCSS
$custom: #a954ec;
$custom-light: #c789f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a954ec",
  "rgb": {
    "r": 169,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 273.553,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61931,
    "c": 0.22265,
    "h": 306.7
  },
  "luminance": 0.20832
}

Semantic roles & 50–950 ramp

primary
#A954EC
secondary
#CBE9B2
accent
#DC0966
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #A954EC

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

Preview Lab → · Contrast checker → · Palette generator →

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