#A174F9#A174F9

#A174F9 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.5% C 0.191 H 296.4°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A174F9
RGBrgb(161, 116, 249)
HSLhsl(260, 92%, 72%)
HSVhsv(260, 53%, 98%)
CMYKcmyk(35.3%, 53.4%, 0%, 2.4%)
CIE-LABlab(58.89, 45.67, -60.50)
CIE-LCHlch(58.89, 75.81, 307.05°)
OKLaboklab(66.46% 0.0852 -0.1713)
OKLCHoklch(66.46% 0.191 296.4)
XYZxyz(38.0379, 26.9068, 92.7936)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A174F9 #CCF974
analogous
#748AF9 #A174F9 #E474F9
triadic
#A174F9 #F9A174 #74F9A1
tetradic
#A174F9 #F9748A #CCF974 #74F9E4
square
#A174F9 #F9748A #CCF974 #74F9E4
split-complementary
#A174F9 #F9E474 #8AF974
monochromatic
#550AE9 #7939F6 #A174F9 #C9AFFC #EBE2FE

Accessibility & contrast

On white

3.29
#A174F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#A174F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A174F9
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A174F9#FFFFFF#000000##000000
##A174F91.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8EFE
Deuteranopia (green-blind)
#488CF6
Tritanopia (blue-blind)
#8D8FAC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a174f9;
/* rgb */ color: rgb(161, 116, 249);
/* oklch */ color: oklch(66.5% 0.191 296.4);
Tailwind
colors: {
  custom: {
    50: '#c19dfc',
    500: '#a174f9',
    950: '#000000',
  },
}
SCSS
$custom: #a174f9;
$custom-light: #c19dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a174f9",
  "rgb": {
    "r": 161,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 260.301,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6646,
    "c": 0.19135,
    "h": 296.4
  },
  "luminance": 0.26907
}

Semantic roles & 50–950 ramp

primary
#A174F9
secondary
#EAF5D3
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A174F9

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

Preview Lab → · Contrast checker → · Palette generator →

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