#A174F4#A174F4

#A174F4 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.2% C 0.185 H 297.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A174F4
RGBrgb(161, 116, 244)
HSLhsl(261, 85%, 71%)
HSVhsv(261, 52%, 96%)
CMYKcmyk(34%, 52.5%, 0%, 4.3%)
CIE-LABlab(58.60, 44.41, -58.19)
CIE-LCHlch(58.60, 73.20, 307.35°)
OKLaboklab(66.16% 0.085 -0.1646)
OKLCHoklch(66.16% 0.185 297.3)
XYZxyz(37.2684, 26.5990, 88.7410)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A174F4 #C7F474
analogous
#7487F4 #A174F4 #E174F4
triadic
#A174F4 #F4A174 #74F4A1
tetradic
#A174F4 #F47487 #C7F474 #74F4E1
square
#A174F4 #F47487 #C7F474 #74F4E1
split-complementary
#A174F4 #F4E174 #87F474
monochromatic
#5911DC #7B3BF0 #A174F4 #C7ADF8 #ECE3FD

Accessibility & contrast

On white

3.32
#A174F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#A174F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A174F4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A174F4#FFFFFF#000000##000000
##A174F41.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#418DF8
Deuteranopia (green-blind)
#4D8BF1
Tritanopia (blue-blind)
#8E8DA9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a174f4;
/* rgb */ color: rgb(161, 116, 244);
/* oklch */ color: oklch(66.2% 0.185 297.3);
Tailwind
colors: {
  custom: {
    50: '#c19df8',
    500: '#a174f4',
    950: '#000000',
  },
}
SCSS
$custom: #a174f4;
$custom-light: #c19df8;
$custom-dark: #000000;
JSON
{
  "hex": "#a174f4",
  "rgb": {
    "r": 161,
    "g": 116,
    "b": 244
  },
  "hsl": {
    "h": 261.094,
    "s": 85.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66156,
    "c": 0.18522,
    "h": 297.3
  },
  "luminance": 0.266
}

Semantic roles & 50–950 ramp

primary
#A174F4
secondary
#E7F3D1
accent
#E20494
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A174F4

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

Preview Lab → · Contrast checker → · Palette generator →

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