#A174F8#A174F8

#A174F8 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.4% C 0.190 H 296.6°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A174F8
RGBrgb(161, 116, 248)
HSLhsl(260, 90%, 71%)
HSVhsv(260, 53%, 97%)
CMYKcmyk(35.1%, 53.2%, 0%, 2.7%)
CIE-LABlab(58.83, 45.42, -60.04)
CIE-LCHlch(58.83, 75.28, 307.11°)
OKLaboklab(66.4% 0.0852 -0.17)
OKLCHoklch(66.4% 0.19 296.6)
XYZxyz(37.8823, 26.8446, 91.9744)
Luminance0.2685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A174F8 #CBF874
analogous
#7489F8 #A174F8 #E374F8
triadic
#A174F8 #F8A174 #74F8A1
tetradic
#A174F8 #F87489 #CBF874 #74F8E3
square
#A174F8 #F87489 #CBF874 #74F8E3
split-complementary
#A174F8 #F8E374 #89F874
monochromatic
#560CE6 #7A3AF5 #A174F8 #C8AEFB #EBE2FE

Accessibility & contrast

On white

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

On black

6.37
#A174F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A174F8
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A174F8#FFFFFF#000000##000000
##A174F81.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8EFC
Deuteranopia (green-blind)
#498CF5
Tritanopia (blue-blind)
#8D8FAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a174f8;
/* rgb */ color: rgb(161, 116, 248);
/* oklch */ color: oklch(66.4% 0.190 296.6);
Tailwind
colors: {
  custom: {
    50: '#c19dfb',
    500: '#a174f8',
    950: '#000000',
  },
}
SCSS
$custom: #a174f8;
$custom-light: #c19dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a174f8",
  "rgb": {
    "r": 161,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 260.455,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66399,
    "c": 0.19012,
    "h": 296.6
  },
  "luminance": 0.26845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A174F8

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

Preview Lab → · Contrast checker → · Palette generator →

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