#A874CA#A874CA

#A874CA is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.5% C 0.135 H 310.9°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A874CA
RGBrgb(168, 116, 202)
HSLhsl(276, 45%, 62%)
HSVhsv(276, 43%, 79%)
CMYKcmyk(16.8%, 42.6%, 0%, 20.8%)
CIE-LABlab(57.15, 36.29, -36.89)
CIE-LCHlch(57.15, 51.75, 314.53°)
OKLaboklab(64.54% 0.0887 -0.1023)
OKLCHoklch(64.54% 0.135 310.9)
XYZxyz(33.0526, 25.0804, 58.9655)
Luminance0.2508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A874CA #96CA74
analogous
#7D74CA #A874CA #CA74C1
triadic
#A874CA #CAA874 #74CAA8
tetradic
#A874CA #CA7D74 #96CA74 #74C1CA
square
#A874CA #CA7D74 #96CA74 #74C1CA
split-complementary
#A874CA #C1CA74 #74CA7D
monochromatic
#6B368E #8C48B9 #A874CA #C4A0DB #DFCDEC

Accessibility & contrast

On white

3.49
#A874CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#A874CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A874CA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A874CA#FFFFFF#000000##000000
##A874CA1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6287CD
Deuteranopia (green-blind)
#6F8AC8
Tritanopia (blue-blind)
#A48195
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a874ca;
/* rgb */ color: rgb(168, 116, 202);
/* oklch */ color: oklch(64.5% 0.135 310.9);
Tailwind
colors: {
  custom: {
    50: '#c39dda',
    500: '#a874ca',
    950: '#000000',
  },
}
SCSS
$custom: #a874ca;
$custom-light: #c39dda;
$custom-dark: #000000;
JSON
{
  "hex": "#a874ca",
  "rgb": {
    "r": 168,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 276.279,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64538,
    "c": 0.13544,
    "h": 310.9
  },
  "luminance": 0.2508
}

Semantic roles & 50–950 ramp

primary
#A874CA
secondary
#CADDBD
accent
#B82E64
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A874CA

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

Preview Lab → · Contrast checker → · Palette generator →

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