#A874FF#A874FF

#A874FF is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.5% C 0.199 H 298.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A874FF
RGBrgb(168, 116, 255)
HSLhsl(262, 100%, 73%)
HSVhsv(262, 55%, 100%)
CMYKcmyk(34.1%, 54.5%, 0%, 0%)
CIE-LABlab(59.92, 48.82, -62.12)
CIE-LCHlch(59.92, 79.01, 308.16°)
OKLaboklab(67.49% 0.094 -0.1759)
OKLCHoklch(67.49% 0.199 298.1)
XYZxyz(40.4394, 28.0351, 97.8691)
Luminance0.2804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A874FF #CBFF74
analogous
#7485FF #A874FF #ED74FF
triadic
#A874FF #FFA874 #74FFA8
tetradic
#A874FF #FF7485 #CBFF74 #74FFED
square
#A874FF #FF7485 #CBFF74 #74FFED
split-complementary
#A874FF #FFED74 #85FF74
monochromatic
#5D00F9 #8237FF #A874FF #CEB1FF #ECE0FF

Accessibility & contrast

On white

3.18
#A874FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#A874FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A874FF
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A874FF#FFFFFF#000000##000000
##A874FF1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3791FF
Deuteranopia (green-blind)
#498FFC
Tritanopia (blue-blind)
#9590AF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a874ff;
/* rgb */ color: rgb(168, 116, 255);
/* oklch */ color: oklch(67.5% 0.199 298.1);
Tailwind
colors: {
  custom: {
    50: '#c69dff',
    500: '#a874ff',
    950: '#000000',
  },
}
SCSS
$custom: #a874ff;
$custom-light: #c69dff;
$custom-dark: #000000;
JSON
{
  "hex": "#a874ff",
  "rgb": {
    "r": 168,
    "g": 116,
    "b": 255
  },
  "hsl": {
    "h": 262.446,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67494,
    "c": 0.19945,
    "h": 298.1
  },
  "luminance": 0.28036
}

Semantic roles & 50–950 ramp

primary
#A874FF
secondary
#EAF7D4
accent
#E60090
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A874FF

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

Preview Lab → · Contrast checker → · Palette generator →

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