#A874FB#A874FB

#A874FB is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.3% C 0.195 H 298.8°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A874FB
RGBrgb(168, 116, 251)
HSLhsl(263, 94%, 72%)
HSVhsv(263, 54%, 98%)
CMYKcmyk(33.1%, 53.8%, 0%, 1.6%)
CIE-LABlab(59.69, 47.83, -60.28)
CIE-LCHlch(59.69, 76.95, 308.43°)
OKLaboklab(67.25% 0.0939 -0.1705)
OKLCHoklch(67.25% 0.195 298.8)
XYZxyz(39.8022, 27.7803, 94.5132)
Luminance0.2778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A874FB #C7FB74
analogous
#7484FB #A874FB #EC74FB
triadic
#A874FB #FBA874 #74FBA8
tetradic
#A874FB #FB7484 #C7FB74 #74FBEC
square
#A874FB #FB7484 #C7FB74 #74FBEC
split-complementary
#A874FB #FBEC74 #84FB74
monochromatic
#6007EE #8339F9 #A874FB #CDAFFD #ECE1FE

Accessibility & contrast

On white

3.20
#A874FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#A874FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A874FB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A874FB#FFFFFF#000000##000000
##A874FB1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C90FF
Deuteranopia (green-blind)
#4D8FF8
Tritanopia (blue-blind)
#968FAD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a874fb;
/* rgb */ color: rgb(168, 116, 251);
/* oklch */ color: oklch(67.3% 0.195 298.8);
Tailwind
colors: {
  custom: {
    50: '#c69dfd',
    500: '#a874fb',
    950: '#000000',
  },
}
SCSS
$custom: #a874fb;
$custom-light: #c69dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a874fb",
  "rgb": {
    "r": 168,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 263.111,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6725,
    "c": 0.19466,
    "h": 298.8
  },
  "luminance": 0.27781
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A874FB

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

Preview Lab → · Contrast checker → · Palette generator →

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