#A174D7#A174D7

#A174D7 is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.5% C 0.149 H 303.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A174D7
RGBrgb(161, 116, 215)
HSLhsl(267, 55%, 65%)
HSVhsv(267, 46%, 84%)
CMYKcmyk(25.1%, 46%, 0%, 15.7%)
CIE-LABlab(57.05, 37.28, -44.46)
CIE-LCHlch(57.05, 58.02, 309.98°)
OKLaboklab(64.5% 0.0823 -0.1244)
OKLCHoklch(64.5% 0.149 303.5)
XYZxyz(33.2064, 24.9742, 67.3479)
Luminance0.2497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A174D7 #AAD774
analogous
#7478D7 #A174D7 #D374D7
triadic
#A174D7 #D7A174 #74D7A1
tetradic
#A174D7 #D77478 #AAD774 #74D7D3
square
#A174D7 #D77478 #AAD774 #74D7D3
split-complementary
#A174D7 #D7D374 #78D774
monochromatic
#632FA2 #8144C9 #A174D7 #C1A4E5 #E1D3F2

Accessibility & contrast

On white

3.50
#A174D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#A174D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A174D7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A174D7#FFFFFF#000000##000000
##A174D71.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5988DB
Deuteranopia (green-blind)
#6489D4
Tritanopia (blue-blind)
#98859B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a174d7;
/* rgb */ color: rgb(161, 116, 215);
/* oklch */ color: oklch(64.5% 0.149 303.5);
Tailwind
colors: {
  custom: {
    50: '#bf9de4',
    500: '#a174d7',
    950: '#000000',
  },
}
SCSS
$custom: #a174d7;
$custom-light: #bf9de4;
$custom-dark: #000000;
JSON
{
  "hex": "#a174d7",
  "rgb": {
    "r": 161,
    "g": 116,
    "b": 215
  },
  "hsl": {
    "h": 267.273,
    "s": 55.307,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64498,
    "c": 0.14916,
    "h": 303.5
  },
  "luminance": 0.24974
}

Semantic roles & 50–950 ramp

primary
#A174D7
secondary
#D5E4C3
accent
#C3237A
background
#FBF9FE
surface
#F7F2FC
border
#D0CCD5
text
#120E15
muted
#817E84

Preview Lab

Preview with #A174D7

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

Preview Lab → · Contrast checker → · Palette generator →

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