#A474FB#A474FB

#A474FB is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.9% C 0.194 H 297.3°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A474FB
RGBrgb(164, 116, 251)
HSLhsl(261, 94%, 72%)
HSVhsv(261, 54%, 98%)
CMYKcmyk(34.7%, 53.8%, 0%, 1.6%)
CIE-LABlab(59.29, 46.88, -60.94)
CIE-LCHlch(59.29, 76.89, 307.57°)
OKLaboklab(66.87% 0.089 -0.1725)
OKLCHoklch(66.87% 0.194 297.3)
XYZxyz(38.9635, 27.3478, 94.4739)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A474FB #CBFB74
analogous
#7488FB #A474FB #E774FB
triadic
#A474FB #FBA474 #74FBA4
tetradic
#A474FB #FB7488 #CBFB74 #74FBE7
square
#A474FB #FB7488 #CBFB74 #74FBE7
split-complementary
#A474FB #FBE774 #88FB74
monochromatic
#5907EE #7D39F9 #A474FB #CBAFFD #ECE1FE

Accessibility & contrast

On white

3.25
#A474FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#A474FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A474FB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A474FB#FFFFFF#000000##000000
##A474FB1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8FFF
Deuteranopia (green-blind)
#498DF8
Tritanopia (blue-blind)
#908FAD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a474fb;
/* rgb */ color: rgb(164, 116, 251);
/* oklch */ color: oklch(66.9% 0.194 297.3);
Tailwind
colors: {
  custom: {
    50: '#c39dfd',
    500: '#a474fb',
    950: '#000000',
  },
}
SCSS
$custom: #a474fb;
$custom-light: #c39dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a474fb",
  "rgb": {
    "r": 164,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 261.333,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66866,
    "c": 0.19413,
    "h": 297.3
  },
  "luminance": 0.27348
}

Semantic roles & 50–950 ramp

primary
#A474FB
secondary
#EAF6D4
accent
#E60094
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A474FB

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

Preview Lab → · Contrast checker → · Palette generator →

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