#A974F8#A974F8

#A974F8 is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.2% C 0.191 H 299.8°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A974F8
RGBrgb(169, 116, 248)
HSLhsl(264, 90%, 71%)
HSVhsv(264, 53%, 97%)
CMYKcmyk(31.9%, 53.2%, 0%, 2.7%)
CIE-LABlab(59.62, 47.33, -58.74)
CIE-LCHlch(59.62, 75.43, 308.86°)
OKLaboklab(67.17% 0.095 -0.1659)
OKLCHoklch(67.17% 0.191 299.8)
XYZxyz(39.5468, 27.7028, 92.0524)
Luminance0.2770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A974F8 #C3F874
analogous
#7481F8 #A974F8 #EB74F8
triadic
#A974F8 #F8A974 #74F8A9
tetradic
#A974F8 #F87481 #C3F874 #74F8EB
square
#A974F8 #F87481 #C3F874 #74F8EB
split-complementary
#A974F8 #F8EB74 #81F874
monochromatic
#630CE6 #853AF5 #A974F8 #CDAEFB #EDE2FE

Accessibility & contrast

On white

3.21
#A974F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#A974F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A974F8
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A974F8#FFFFFF#000000##000000
##A974F81.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFC
Deuteranopia (green-blind)
#518FF5
Tritanopia (blue-blind)
#998EAB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a974f8;
/* rgb */ color: rgb(169, 116, 248);
/* oklch */ color: oklch(67.2% 0.191 299.8);
Tailwind
colors: {
  custom: {
    50: '#c69dfb',
    500: '#a974f8',
    950: '#000000',
  },
}
SCSS
$custom: #a974f8;
$custom-light: #c69dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a974f8",
  "rgb": {
    "r": 169,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 264.091,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67166,
    "c": 0.19122,
    "h": 299.8
  },
  "luminance": 0.27703
}

Semantic roles & 50–950 ramp

primary
#A974F8
secondary
#E7F5D3
accent
#E60089
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A974F8

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

Preview Lab → · Contrast checker → · Palette generator →

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