#A874F5#A874F5

#A874F5 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.9% C 0.187 H 300.0°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A874F5
RGBrgb(168, 116, 245)
HSLhsl(264, 87%, 71%)
HSVhsv(264, 53%, 96%)
CMYKcmyk(31.4%, 52.7%, 0%, 3.9%)
CIE-LABlab(59.35, 46.35, -57.51)
CIE-LCHlch(59.35, 73.87, 308.87°)
OKLaboklab(66.89% 0.0936 -0.1624)
OKLCHoklch(66.89% 0.187 300)
XYZxyz(38.8714, 27.4079, 89.6109)
Luminance0.2741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A874F5 #C1F574
analogous
#7480F5 #A874F5 #E874F5
triadic
#A874F5 #F5A874 #74F5A8
tetradic
#A874F5 #F57480 #C1F574 #74F5E8
square
#A874F5 #F57480 #C1F574 #74F5E8
split-complementary
#A874F5 #F5E874 #80F574
monochromatic
#6310DF #843BF1 #A874F5 #CCADF9 #EDE2FD

Accessibility & contrast

On white

3.24
#A874F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#A874F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A874F5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A874F5#FFFFFF#000000##000000
##A874F51.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#438FF9
Deuteranopia (green-blind)
#538EF2
Tritanopia (blue-blind)
#988DAA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a874f5;
/* rgb */ color: rgb(168, 116, 245);
/* oklch */ color: oklch(66.9% 0.187 300.0);
Tailwind
colors: {
  custom: {
    50: '#c59df9',
    500: '#a874f5',
    950: '#000000',
  },
}
SCSS
$custom: #a874f5;
$custom-light: #c59df9;
$custom-dark: #000000;
JSON
{
  "hex": "#a874f5",
  "rgb": {
    "r": 168,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 264.186,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66889,
    "c": 0.18745,
    "h": 300
  },
  "luminance": 0.27408
}

Semantic roles & 50–950 ramp

primary
#A874F5
secondary
#E6F4D1
accent
#E30289
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A874F5

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

Preview Lab → · Contrast checker → · Palette generator →

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