#A954E8#A954E8

#A954E8 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.7% C 0.219 H 307.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A954E8
RGBrgb(169, 84, 232)
HSLhsl(274, 76%, 62%)
HSVhsv(274, 64%, 91%)
CMYKcmyk(27.2%, 63.8%, 0%, 9%)
CIE-LABlab(52.51, 59.96, -61.22)
CIE-LCHlch(52.51, 85.69, 314.40°)
OKLaboklab(61.67% 0.1333 -0.1731)
OKLCHoklch(61.67% 0.219 307.6)
XYZxyz(34.0950, 20.6023, 78.5088)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A954E8 #93E854
analogous
#5F54E8 #A954E8 #E854DD
triadic
#A954E8 #E8A954 #54E8A9
tetradic
#A954E8 #E85F54 #93E854 #54DDE8
square
#A954E8 #E85F54 #93E854 #54DDE8
split-complementary
#A954E8 #DDE854 #54E85F
monochromatic
#6C17AB #8E1EE1 #A954E8 #C48AEF #DFC0F7

Accessibility & contrast

On white

4.10
#A954E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#A954E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A954E8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A954E8#FFFFFF#000000##000000
##A954E81.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AED
Deuteranopia (green-blind)
#377EE5
Tritanopia (blue-blind)
#9F7397
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a954e8;
/* rgb */ color: rgb(169, 84, 232);
/* oklch */ color: oklch(61.7% 0.219 307.6);
Tailwind
colors: {
  custom: {
    50: '#c789f0',
    500: '#a954e8',
    950: '#000000',
  },
}
SCSS
$custom: #a954e8;
$custom-light: #c789f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a954e8",
  "rgb": {
    "r": 169,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 274.459,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61667,
    "c": 0.21852,
    "h": 307.6
  },
  "luminance": 0.20602
}

Semantic roles & 50–950 ramp

primary
#A954E8
secondary
#C8E7B1
accent
#D80D64
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A954E8

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

Preview Lab → · Contrast checker → · Palette generator →

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