#A174EF#A174EF

#A174EF is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.9% C 0.179 H 298.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A174EF
RGBrgb(161, 116, 239)
HSLhsl(262, 79%, 70%)
HSVhsv(262, 51%, 94%)
CMYKcmyk(32.6%, 51.5%, 0%, 6.3%)
CIE-LABlab(58.32, 43.15, -55.87)
CIE-LCHlch(58.32, 70.59, 307.68°)
OKLaboklab(65.86% 0.0847 -0.1578)
OKLCHoklch(65.86% 0.179 298.2)
XYZxyz(36.5195, 26.2994, 84.7969)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A174EF #C2EF74
analogous
#7485EF #A174EF #DE74EF
triadic
#A174EF #EFA174 #74EFA1
tetradic
#A174EF #EF7485 #C2EF74 #74EFDE
square
#A174EF #EF7485 #C2EF74 #74EFDE
split-complementary
#A174EF #EFDE74 #85EF74
monochromatic
#5C18D1 #7C3DE9 #A174EF #C6ABF5 #EBE2FC

Accessibility & contrast

On white

3.35
#A174EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#A174EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A174EF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A174EF#FFFFFF#000000##000000
##A174EF1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#468CF3
Deuteranopia (green-blind)
#528BEC
Tritanopia (blue-blind)
#908CA7
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a174ef;
/* rgb */ color: rgb(161, 116, 239);
/* oklch */ color: oklch(65.9% 0.179 298.2);
Tailwind
colors: {
  custom: {
    50: '#c09df5',
    500: '#a174ef',
    950: '#000000',
  },
}
SCSS
$custom: #a174ef;
$custom-light: #c09df5;
$custom-dark: #000000;
JSON
{
  "hex": "#a174ef",
  "rgb": {
    "r": 161,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 261.951,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.65857,
    "c": 0.17905,
    "h": 298.2
  },
  "luminance": 0.263
}

Semantic roles & 50–950 ramp

primary
#A174EF
secondary
#E4F1CE
accent
#DC0A8F
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A174EF

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

Preview Lab → · Contrast checker → · Palette generator →

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