#A770F8#A770F8

#A770F8 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.4% C 0.197 H 299.7°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A770F8
RGBrgb(167, 112, 248)
HSLhsl(264, 91%, 71%)
HSVhsv(264, 55%, 97%)
CMYKcmyk(32.7%, 54.8%, 0%, 2.7%)
CIE-LABlab(58.58, 49.01, -60.40)
CIE-LCHlch(58.58, 77.78, 309.06°)
OKLaboklab(66.36% 0.0975 -0.1709)
OKLCHoklch(66.36% 0.197 299.7)
XYZxyz(38.6697, 26.5808, 91.8821)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A770F8 #C1F870
analogous
#707DF8 #A770F8 #EB70F8
triadic
#A770F8 #F8A770 #70F8A7
tetradic
#A770F8 #F8707D #C1F870 #70F8EB
square
#A770F8 #F8707D #C1F870 #70F8EB
split-complementary
#A770F8 #F8EB70 #7DF870
monochromatic
#620BE3 #8336F5 #A770F8 #CBAAFB #EDE2FE

Accessibility & contrast

On white

3.32
#A770F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#A770F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A770F8
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A770F8#FFFFFF#000000##000000
##A770F81.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#368DFD
Deuteranopia (green-blind)
#498CF5
Tritanopia (blue-blind)
#968BA9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a770f8;
/* rgb */ color: rgb(167, 112, 248);
/* oklch */ color: oklch(66.4% 0.197 299.7);
Tailwind
colors: {
  custom: {
    50: '#c59bfb',
    500: '#a770f8',
    950: '#000000',
  },
}
SCSS
$custom: #a770f8;
$custom-light: #c59bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a770f8",
  "rgb": {
    "r": 167,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 264.265,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66356,
    "c": 0.19672,
    "h": 299.7
  },
  "luminance": 0.26581
}

Semantic roles & 50–950 ramp

primary
#A770F8
secondary
#E5F4CF
accent
#E60089
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A770F8

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

Preview Lab → · Contrast checker → · Palette generator →

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