#A174F7#A174F7

#A174F7 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.3% C 0.189 H 296.8°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A174F7
RGBrgb(161, 116, 247)
HSLhsl(261, 89%, 71%)
HSVhsv(261, 53%, 97%)
CMYKcmyk(34.8%, 53%, 0%, 3.1%)
CIE-LABlab(58.77, 45.16, -59.58)
CIE-LCHlch(58.77, 74.76, 307.16°)
OKLaboklab(66.34% 0.0851 -0.1686)
OKLCHoklch(66.34% 0.189 296.8)
XYZxyz(37.7276, 26.7827, 91.1595)
Luminance0.2678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A174F7 #CAF774
analogous
#7488F7 #A174F7 #E374F7
triadic
#A174F7 #F7A174 #74F7A1
tetradic
#A174F7 #F77488 #CAF774 #74F7E3
square
#A174F7 #F77488 #CAF774 #74F7E3
split-complementary
#A174F7 #F7E374 #88F774
monochromatic
#570DE4 #7A3AF4 #A174F7 #C8AEFA #EBE2FD

Accessibility & contrast

On white

3.30
#A174F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#A174F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A174F7
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A174F7#FFFFFF#000000##000000
##A174F71.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8EFB
Deuteranopia (green-blind)
#4A8CF4
Tritanopia (blue-blind)
#8D8EAB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a174f7;
/* rgb */ color: rgb(161, 116, 247);
/* oklch */ color: oklch(66.3% 0.189 296.8);
Tailwind
colors: {
  custom: {
    50: '#c19dfa',
    500: '#a174f7',
    950: '#000000',
  },
}
SCSS
$custom: #a174f7;
$custom-light: #c19dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a174f7",
  "rgb": {
    "r": 161,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 260.611,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66338,
    "c": 0.1889,
    "h": 296.8
  },
  "luminance": 0.26783
}

Semantic roles & 50–950 ramp

primary
#A174F7
secondary
#E9F5D2
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A174F7

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

Preview Lab → · Contrast checker → · Palette generator →

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