#A174DB#A174DB

#A174DB is a light, vivid violet. Relative luminance 0.252; OKLCH L 64.7% C 0.154 H 302.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A174DB
RGBrgb(161, 116, 219)
HSLhsl(266, 59%, 66%)
HSVhsv(266, 47%, 86%)
CMYKcmyk(26.5%, 47%, 0%, 14.1%)
CIE-LABlab(57.25, 38.24, -46.39)
CIE-LCHlch(57.25, 60.12, 309.50°)
OKLaboklab(64.72% 0.0828 -0.13)
OKLCHoklch(64.72% 0.154 302.5)
XYZxyz(33.7267, 25.1823, 70.0880)
Luminance0.2518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A174DB #AEDB74
analogous
#747ADB #A174DB #D574DB
triadic
#A174DB #DBA174 #74DBA1
tetradic
#A174DB #DB747A #AEDB74 #74DBD5
square
#A174DB #DB747A #AEDB74 #74DBD5
split-complementary
#A174DB #DBD574 #7ADB74
monochromatic
#622CA9 #8043CE #A174DB #C2A5E8 #E3D5F4

Accessibility & contrast

On white

3.48
#A174DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#A174DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A174DB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A174DB#FFFFFF#000000##000000
##A174DB1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689DF
Deuteranopia (green-blind)
#6189D8
Tritanopia (blue-blind)
#97869D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a174db;
/* rgb */ color: rgb(161, 116, 219);
/* oklch */ color: oklch(64.7% 0.154 302.5);
Tailwind
colors: {
  custom: {
    50: '#bf9de6',
    500: '#a174db',
    950: '#000000',
  },
}
SCSS
$custom: #a174db;
$custom-light: #bf9de6;
$custom-dark: #000000;
JSON
{
  "hex": "#a174db",
  "rgb": {
    "r": 161,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 266.214,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64715,
    "c": 0.15416,
    "h": 302.5
  },
  "luminance": 0.25182
}

Semantic roles & 50–950 ramp

primary
#A174DB
secondary
#D8E7C4
accent
#C61F7D
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A174DB

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

Preview Lab → · Contrast checker → · Palette generator →

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