#A174EA#A174EA

#A174EA is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.6% C 0.173 H 299.2°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A174EA
RGBrgb(161, 116, 234)
HSLhsl(263, 74%, 69%)
HSVhsv(263, 50%, 92%)
CMYKcmyk(31.2%, 50.4%, 0%, 8.2%)
CIE-LABlab(58.04, 41.90, -53.53)
CIE-LCHlch(58.04, 67.98, 308.06°)
OKLaboklab(65.56% 0.0843 -0.1509)
OKLCHoklch(65.56% 0.173 299.2)
XYZxyz(35.7911, 26.0081, 80.9604)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A174EA #BDEA74
analogous
#7482EA #A174EA #DC74EA
triadic
#A174EA #EAA174 #74EAA1
tetradic
#A174EA #EA7482 #BDEA74 #74EADC
square
#A174EA #EA7482 #BDEA74 #74EADC
split-complementary
#A174EA #EADC74 #82EA74
monochromatic
#5E1EC6 #7D3FE2 #A174EA #C5A9F2 #E9DEFA

Accessibility & contrast

On white

3.39
#A174EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#A174EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A174EA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A174EA#FFFFFF#000000##000000
##A174EA1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8BEE
Deuteranopia (green-blind)
#568BE7
Tritanopia (blue-blind)
#928AA4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a174ea;
/* rgb */ color: rgb(161, 116, 234);
/* oklch */ color: oklch(65.6% 0.173 299.2);
Tailwind
colors: {
  custom: {
    50: '#c09df1',
    500: '#a174ea',
    950: '#000000',
  },
}
SCSS
$custom: #a174ea;
$custom-light: #c09df1;
$custom-dark: #000000;
JSON
{
  "hex": "#a174ea",
  "rgb": {
    "r": 161,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 262.881,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65563,
    "c": 0.17285,
    "h": 299.2
  },
  "luminance": 0.26008
}

Semantic roles & 50–950 ramp

primary
#A174EA
secondary
#E1EFCB
accent
#D6108A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A174EA

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

Preview Lab → · Contrast checker → · Palette generator →

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