#A774F0#A774F0

#A774F0 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.5% C 0.181 H 300.5°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A774F0
RGBrgb(167, 116, 240)
HSLhsl(265, 81%, 70%)
HSVhsv(265, 52%, 94%)
CMYKcmyk(30.4%, 51.7%, 0%, 5.9%)
CIE-LABlab(58.97, 44.88, -55.35)
CIE-LCHlch(58.97, 71.26, 309.04°)
OKLaboklab(66.5% 0.0921 -0.1561)
OKLCHoklch(66.5% 0.181 300.5)
XYZxyz(37.9062, 26.9973, 85.6352)
Luminance0.2700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A774F0 #BDF074
analogous
#747FF0 #A774F0 #E574F0
triadic
#A774F0 #F0A774 #74F0A7
tetradic
#A774F0 #F0747F #BDF074 #74F0E5
square
#A774F0 #F0747F #BDF074 #74F0E5
split-complementary
#A774F0 #F0E574 #7FF074
monochromatic
#6417D3 #843DEA #A774F0 #CAABF6 #EDE2FC

Accessibility & contrast

On white

3.28
#A774F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#A774F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A774F0
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A774F0#FFFFFF#000000##000000
##A774F01.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#488DF4
Deuteranopia (green-blind)
#568DED
Tritanopia (blue-blind)
#988CA7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a774f0;
/* rgb */ color: rgb(167, 116, 240);
/* oklch */ color: oklch(66.5% 0.181 300.5);
Tailwind
colors: {
  custom: {
    50: '#c49df5',
    500: '#a774f0',
    950: '#000000',
  },
}
SCSS
$custom: #a774f0;
$custom-light: #c49df5;
$custom-dark: #000000;
JSON
{
  "hex": "#a774f0",
  "rgb": {
    "r": 167,
    "g": 116,
    "b": 240
  },
  "hsl": {
    "h": 264.677,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66496,
    "c": 0.18123,
    "h": 300.5
  },
  "luminance": 0.26998
}

Semantic roles & 50–950 ramp

primary
#A774F0
secondary
#E3F1CE
accent
#DD0986
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A774F0

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

Preview Lab → · Contrast checker → · Palette generator →

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