#A874F6#A874F6

#A874F6 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.9% C 0.189 H 299.8°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A874F6
RGBrgb(168, 116, 246)
HSLhsl(264, 88%, 71%)
HSVhsv(264, 53%, 96%)
CMYKcmyk(31.7%, 52.8%, 0%, 3.5%)
CIE-LABlab(59.41, 46.60, -57.98)
CIE-LCHlch(59.41, 74.38, 308.79°)
OKLaboklab(66.95% 0.0937 -0.1637)
OKLCHoklch(66.95% 0.189 299.8)
XYZxyz(39.0244, 27.4691, 90.4170)
Luminance0.2747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A874F6 #C2F674
analogous
#7481F6 #A874F6 #E974F6
triadic
#A874F6 #F6A874 #74F6A8
tetradic
#A874F6 #F67481 #C2F674 #74F6E9
square
#A874F6 #F67481 #C2F674 #74F6E9
split-complementary
#A874F6 #F6E974 #81F674
monochromatic
#630FE1 #843BF2 #A874F6 #CCADFA #EDE2FD

Accessibility & contrast

On white

3.23
#A874F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#A874F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A874F6
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A874F6#FFFFFF#000000##000000
##A874F61.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#428FFA
Deuteranopia (green-blind)
#528EF3
Tritanopia (blue-blind)
#988DAA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a874f6;
/* rgb */ color: rgb(168, 116, 246);
/* oklch */ color: oklch(66.9% 0.189 299.8);
Tailwind
colors: {
  custom: {
    50: '#c59dfa',
    500: '#a874f6',
    950: '#000000',
  },
}
SCSS
$custom: #a874f6;
$custom-light: #c59dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a874f6",
  "rgb": {
    "r": 168,
    "g": 116,
    "b": 246
  },
  "hsl": {
    "h": 264,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66949,
    "c": 0.18865,
    "h": 299.8
  },
  "luminance": 0.27469
}

Semantic roles & 50–950 ramp

primary
#A874F6
secondary
#E6F4D2
accent
#E40189
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A874F6

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

Preview Lab → · Contrast checker → · Palette generator →

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