#A874FA#A874FA

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

Color values

HEX#A874FA
RGBrgb(168, 116, 250)
HSLhsl(263, 93%, 72%)
HSVhsv(263, 54%, 98%)
CMYKcmyk(32.8%, 53.6%, 0%, 2%)
CIE-LABlab(59.63, 47.58, -59.82)
CIE-LCHlch(59.63, 76.44, 308.50°)
OKLaboklab(67.19% 0.0939 -0.1692)
OKLCHoklch(67.19% 0.193 299)
XYZxyz(39.6450, 27.7174, 93.6853)
Luminance0.2772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A874FA #C6FA74
analogous
#7483FA #A874FA #EB74FA
triadic
#A874FA #FAA874 #74FAA8
tetradic
#A874FA #FA7483 #C6FA74 #74FAEB
square
#A874FA #FA7483 #C6FA74 #74FAEB
split-complementary
#A874FA #FAEB74 #83FA74
monochromatic
#6008EB #8339F8 #A874FA #CDAFFC #EDE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A874FA#FFFFFF#000000##000000
##A874FA1.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)
#3E90FF
Deuteranopia (green-blind)
#4E8EF7
Tritanopia (blue-blind)
#978FAC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a874fa;
/* rgb */ color: rgb(168, 116, 250);
/* oklch */ color: oklch(67.2% 0.193 299.0);
Tailwind
colors: {
  custom: {
    50: '#c69dfd',
    500: '#a874fa',
    950: '#000000',
  },
}
SCSS
$custom: #a874fa;
$custom-light: #c69dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a874fa",
  "rgb": {
    "r": 168,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 263.284,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67189,
    "c": 0.19346,
    "h": 299
  },
  "luminance": 0.27718
}

Semantic roles & 50–950 ramp

primary
#A874FA
secondary
#E9F6D4
accent
#E6008C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A874FA

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

Preview Lab → · Contrast checker → · Palette generator →

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