#A774F2#A774F2

#A774F2 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.6% C 0.184 H 300.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A774F2
RGBrgb(167, 116, 242)
HSLhsl(264, 83%, 70%)
HSVhsv(264, 52%, 95%)
CMYKcmyk(31%, 52.1%, 0%, 5.1%)
CIE-LABlab(59.08, 45.37, -56.28)
CIE-LCHlch(59.08, 72.30, 308.87°)
OKLaboklab(66.61% 0.0922 -0.1588)
OKLCHoklch(66.61% 0.184 300.1)
XYZxyz(38.2050, 27.1168, 87.2085)
Luminance0.2712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A774F2 #BFF274
analogous
#7480F2 #A774F2 #E674F2
triadic
#A774F2 #F2A774 #74F2A7
tetradic
#A774F2 #F27480 #BFF274 #74F2E6
square
#A774F2 #F27480 #BFF274 #74F2E6
split-complementary
#A774F2 #F2E674 #80F274
monochromatic
#6314D7 #843CED #A774F2 #CAACF7 #EDE3FC

Accessibility & contrast

On white

3.27
#A774F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#A774F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A774F2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A774F2#FFFFFF#000000##000000
##A774F21.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#468EF6
Deuteranopia (green-blind)
#558DEF
Tritanopia (blue-blind)
#988CA8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a774f2;
/* rgb */ color: rgb(167, 116, 242);
/* oklch */ color: oklch(66.6% 0.184 300.1);
Tailwind
colors: {
  custom: {
    50: '#c49df7',
    500: '#a774f2',
    950: '#000000',
  },
}
SCSS
$custom: #a774f2;
$custom-light: #c49df7;
$custom-dark: #000000;
JSON
{
  "hex": "#a774f2",
  "rgb": {
    "r": 167,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 264.286,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66614,
    "c": 0.18365,
    "h": 300.1
  },
  "luminance": 0.27117
}

Semantic roles & 50–950 ramp

primary
#A774F2
secondary
#E4F2CF
accent
#DF0687
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A774F2

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

Preview Lab → · Contrast checker → · Palette generator →

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