#A174F6#A174F6

#A174F6 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.3% C 0.188 H 297.0°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A174F6
RGBrgb(161, 116, 246)
HSLhsl(261, 88%, 71%)
HSVhsv(261, 53%, 96%)
CMYKcmyk(34.6%, 52.8%, 0%, 3.5%)
CIE-LABlab(58.72, 44.91, -59.12)
CIE-LCHlch(58.72, 74.24, 307.22°)
OKLaboklab(66.28% 0.0851 -0.1673)
OKLCHoklch(66.28% 0.188 297)
XYZxyz(37.5737, 26.7211, 90.3490)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A174F6 #C9F674
analogous
#7488F6 #A174F6 #E274F6
triadic
#A174F6 #F6A174 #74F6A1
tetradic
#A174F6 #F67488 #C9F674 #74F6E2
square
#A174F6 #F67488 #C9F674 #74F6E2
split-complementary
#A174F6 #F6E274 #88F674
monochromatic
#570FE1 #7A3BF2 #A174F6 #C8ADFA #ECE2FD

Accessibility & contrast

On white

3.31
#A174F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#A174F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A174F6
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A174F6#FFFFFF#000000##000000
##A174F61.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8EFA
Deuteranopia (green-blind)
#4B8CF3
Tritanopia (blue-blind)
#8E8EAA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a174f6;
/* rgb */ color: rgb(161, 116, 246);
/* oklch */ color: oklch(66.3% 0.188 297.0);
Tailwind
colors: {
  custom: {
    50: '#c19dfa',
    500: '#a174f6',
    950: '#000000',
  },
}
SCSS
$custom: #a174f6;
$custom-light: #c19dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a174f6",
  "rgb": {
    "r": 161,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 260.769,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66277,
    "c": 0.18768,
    "h": 297
  },
  "luminance": 0.26722
}

Semantic roles & 50–950 ramp

primary
#A174F6
secondary
#E8F4D2
accent
#E40196
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A174F6

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

Preview Lab → · Contrast checker → · Palette generator →

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