#A770FA#A770FA

#A770FA is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.5% C 0.199 H 299.3°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A770FA
RGBrgb(167, 112, 250)
HSLhsl(264, 93%, 71%)
HSVhsv(264, 55%, 98%)
CMYKcmyk(33.2%, 55.2%, 0%, 2%)
CIE-LABlab(58.70, 49.50, -61.32)
CIE-LCHlch(58.70, 78.81, 308.91°)
OKLaboklab(66.48% 0.0975 -0.1736)
OKLCHoklch(66.48% 0.199 299.3)
XYZxyz(38.9817, 26.7056, 93.5249)
Luminance0.2671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A770FA #C3FA70
analogous
#707EFA #A770FA #EC70FA
triadic
#A770FA #FAA770 #70FAA7
tetradic
#A770FA #FA707E #C3FA70 #70FAEC
square
#A770FA #FA707E #C3FA70 #70FAEC
split-complementary
#A770FA #FAEC70 #7EFA70
monochromatic
#6108E8 #8335F8 #A770FA #CBABFC #EDE1FE

Accessibility & contrast

On white

3.31
#A770FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#A770FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A770FA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A770FA#FFFFFF#000000##000000
##A770FA1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#338DFF
Deuteranopia (green-blind)
#478CF7
Tritanopia (blue-blind)
#958CAA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a770fa;
/* rgb */ color: rgb(167, 112, 250);
/* oklch */ color: oklch(66.5% 0.199 299.3);
Tailwind
colors: {
  custom: {
    50: '#c59bfd',
    500: '#a770fa',
    950: '#000000',
  },
}
SCSS
$custom: #a770fa;
$custom-light: #c59bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a770fa",
  "rgb": {
    "r": 167,
    "g": 112,
    "b": 250
  },
  "hsl": {
    "h": 263.913,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66479,
    "c": 0.19909,
    "h": 299.3
  },
  "luminance": 0.26706
}

Semantic roles & 50–950 ramp

primary
#A770FA
secondary
#E7F5D1
accent
#E6008A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A770FA

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

Preview Lab → · Contrast checker → · Palette generator →

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