#A770F2#A770F2

#A770F2 is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.0% C 0.190 H 300.9°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A770F2
RGBrgb(167, 112, 242)
HSLhsl(265, 83%, 69%)
HSVhsv(265, 54%, 95%)
CMYKcmyk(31%, 53.7%, 0%, 5.1%)
CIE-LABlab(58.24, 47.54, -57.63)
CIE-LCHlch(58.24, 74.71, 309.52°)
OKLaboklab(65.99% 0.0973 -0.1627)
OKLCHoklch(65.99% 0.19 300.9)
XYZxyz(37.7538, 26.2145, 87.0581)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A770F2 #BBF270
analogous
#707AF2 #A770F2 #E870F2
triadic
#A770F2 #F2A770 #70F2A7
tetradic
#A770F2 #F2707A #BBF270 #70F2E8
square
#A770F2 #F2707A #BBF270 #70F2E8
split-complementary
#A770F2 #F2E870 #7AF270
monochromatic
#6513D4 #8438ED #A770F2 #CAA8F7 #ECE0FC

Accessibility & contrast

On white

3.36
#A770F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#A770F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A770F2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A770F2#FFFFFF#000000##000000
##A770F21.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8BF6
Deuteranopia (green-blind)
#4F8BEF
Tritanopia (blue-blind)
#9889A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a770f2;
/* rgb */ color: rgb(167, 112, 242);
/* oklch */ color: oklch(66.0% 0.190 300.9);
Tailwind
colors: {
  custom: {
    50: '#c59bf7',
    500: '#a770f2',
    950: '#000000',
  },
}
SCSS
$custom: #a770f2;
$custom-light: #c59bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#a770f2",
  "rgb": {
    "r": 167,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 265.385,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65991,
    "c": 0.1896,
    "h": 300.9
  },
  "luminance": 0.26215
}

Semantic roles & 50–950 ramp

primary
#A770F2
secondary
#E2F2CC
accent
#E00684
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A770F2

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

Preview Lab → · Contrast checker → · Palette generator →

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