#A154EF#A154EF

#A154EF is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.2% C 0.224 H 303.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A154EF
RGBrgb(161, 84, 239)
HSLhsl(270, 83%, 63%)
HSVhsv(270, 65%, 94%)
CMYKcmyk(32.6%, 64.9%, 0%, 6.3%)
CIE-LABlab(52.01, 59.86, -66.01)
CIE-LCHlch(52.01, 89.11, 312.20°)
OKLaboklab(61.24% 0.1225 -0.1875)
OKLCHoklch(61.24% 0.224 303.2)
XYZxyz(33.4447, 20.1497, 83.7719)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A154EF #A2EF54
analogous
#5454EF #A154EF #EE54EF
triadic
#A154EF #EFA154 #54EFA1
tetradic
#A154EF #EF5454 #A2EF54 #54EFEE
square
#A154EF #EF5454 #A2EF54 #54EFEE
split-complementary
#A154EF #EFEE54 #54EF54
monochromatic
#6411B7 #821CEA #A154EF #C08CF4 #DFC4F9

Accessibility & contrast

On white

4.17
#A154EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#A154EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A154EF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A154EF#FFFFFF#000000##000000
##A154EF1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#1A7CEC
Tritanopia (blue-blind)
#92769A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a154ef;
/* rgb */ color: rgb(161, 84, 239);
/* oklch */ color: oklch(61.2% 0.224 303.2);
Tailwind
colors: {
  custom: {
    50: '#c289f5',
    500: '#a154ef',
    950: '#000000',
  },
}
SCSS
$custom: #a154ef;
$custom-light: #c289f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a154ef",
  "rgb": {
    "r": 161,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 269.806,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61238,
    "c": 0.22394,
    "h": 303.2
  },
  "luminance": 0.2015
}

Semantic roles & 50–950 ramp

primary
#A154EF
secondary
#D0EBB4
accent
#DF0673
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A154EF

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

Preview Lab → · Contrast checker → · Palette generator →

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