#A174DF#A174DF

#A174DF is a light, vivid violet. Relative luminance 0.254; OKLCH L 64.9% C 0.159 H 301.5°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A174DF
RGBrgb(161, 116, 223)
HSLhsl(265, 63%, 66%)
HSVhsv(265, 48%, 87%)
CMYKcmyk(27.8%, 48%, 0%, 12.5%)
CIE-LABlab(57.46, 39.20, -48.31)
CIE-LCHlch(57.46, 62.21, 309.06°)
OKLaboklab(64.94% 0.0833 -0.1356)
OKLCHoklch(64.94% 0.159 301.5)
XYZxyz(34.2596, 25.3955, 72.8946)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A174DF #B2DF74
analogous
#747DDF #A174DF #D774DF
triadic
#A174DF #DFA174 #74DFA1
tetradic
#A174DF #DF747D #B2DF74 #74DFD7
square
#A174DF #DF747D #B2DF74 #74DFD7
split-complementary
#A174DF #DFD774 #7DDF74
monochromatic
#6229B0 #7F42D4 #A174DF #C3A6EA #E4D7F6

Accessibility & contrast

On white

3.45
#A174DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#A174DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A174DF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A174DF#FFFFFF#000000##000000
##A174DF1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5389E3
Deuteranopia (green-blind)
#5E8ADC
Tritanopia (blue-blind)
#95879F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a174df;
/* rgb */ color: rgb(161, 116, 223);
/* oklch */ color: oklch(64.9% 0.159 301.5);
Tailwind
colors: {
  custom: {
    50: '#bf9de9',
    500: '#a174df',
    950: '#000000',
  },
}
SCSS
$custom: #a174df;
$custom-light: #bf9de9;
$custom-dark: #000000;
JSON
{
  "hex": "#a174df",
  "rgb": {
    "r": 161,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 265.234,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64936,
    "c": 0.15916,
    "h": 301.5
  },
  "luminance": 0.25396
}

Semantic roles & 50–950 ramp

primary
#A174DF
secondary
#DAE9C6
accent
#CA1B81
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A174DF

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

Preview Lab → · Contrast checker → · Palette generator →

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