#A770F0#A770F0

#A770F0 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.9% C 0.187 H 301.3°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A770F0
RGBrgb(167, 112, 240)
HSLhsl(266, 81%, 69%)
HSVhsv(266, 53%, 94%)
CMYKcmyk(30.4%, 53.3%, 0%, 5.9%)
CIE-LABlab(58.13, 47.06, -56.70)
CIE-LCHlch(58.13, 73.68, 309.69°)
OKLaboklab(65.87% 0.0972 -0.16)
OKLCHoklch(65.87% 0.187 301.3)
XYZxyz(37.4550, 26.0950, 85.4848)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A770F0 #B9F070
analogous
#7079F0 #A770F0 #E770F0
triadic
#A770F0 #F0A770 #70F0A7
tetradic
#A770F0 #F07079 #B9F070 #70F0E7
square
#A770F0 #F07079 #B9F070 #70F0E7
split-complementary
#A770F0 #F0E770 #79F070
monochromatic
#6616D0 #8539EA #A770F0 #C9A7F6 #EBDFFC

Accessibility & contrast

On white

3.38
#A770F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#A770F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A770F0
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A770F0#FFFFFF#000000##000000
##A770F01.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#408BF4
Deuteranopia (green-blind)
#518BED
Tritanopia (blue-blind)
#9989A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a770f0;
/* rgb */ color: rgb(167, 112, 240);
/* oklch */ color: oklch(65.9% 0.187 301.3);
Tailwind
colors: {
  custom: {
    50: '#c59bf5',
    500: '#a770f0',
    950: '#000000',
  },
}
SCSS
$custom: #a770f0;
$custom-light: #c59bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a770f0",
  "rgb": {
    "r": 167,
    "g": 112,
    "b": 240
  },
  "hsl": {
    "h": 265.781,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.65871,
    "c": 0.18721,
    "h": 301.3
  },
  "luminance": 0.26095
}

Semantic roles & 50–950 ramp

primary
#A770F0
secondary
#E1F1CB
accent
#DD0882
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A770F0

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

Preview Lab → · Contrast checker → · Palette generator →

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