#A874F8#A874F8

#A874F8 is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.1% C 0.191 H 299.4°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A874F8
RGBrgb(168, 116, 248)
HSLhsl(264, 90%, 71%)
HSVhsv(264, 53%, 97%)
CMYKcmyk(32.3%, 53.2%, 0%, 2.7%)
CIE-LABlab(59.52, 47.09, -58.90)
CIE-LCHlch(59.52, 75.41, 308.64°)
OKLaboklab(67.07% 0.0938 -0.1664)
OKLCHoklch(67.07% 0.191 299.4)
XYZxyz(39.3330, 27.5926, 92.0424)
Luminance0.2759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A874F8 #C4F874
analogous
#7482F8 #A874F8 #EA74F8
triadic
#A874F8 #F8A874 #74F8A8
tetradic
#A874F8 #F87482 #C4F874 #74F8EA
square
#A874F8 #F87482 #C4F874 #74F8EA
split-complementary
#A874F8 #F8EA74 #82F874
monochromatic
#620CE6 #843AF5 #A874F8 #CCAEFB #EDE2FE

Accessibility & contrast

On white

3.22
#A874F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#A874F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A874F8
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A874F8#FFFFFF#000000##000000
##A874F81.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFC
Deuteranopia (green-blind)
#508EF5
Tritanopia (blue-blind)
#978EAB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a874f8;
/* rgb */ color: rgb(168, 116, 248);
/* oklch */ color: oklch(67.1% 0.191 299.4);
Tailwind
colors: {
  custom: {
    50: '#c69dfb',
    500: '#a874f8',
    950: '#000000',
  },
}
SCSS
$custom: #a874f8;
$custom-light: #c69dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a874f8",
  "rgb": {
    "r": 168,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 263.636,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67068,
    "c": 0.19105,
    "h": 299.4
  },
  "luminance": 0.27593
}

Semantic roles & 50–950 ramp

primary
#A874F8
secondary
#E8F5D3
accent
#E6008B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A874F8

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

Preview Lab → · Contrast checker → · Palette generator →

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