#A770EF#A770EF

#A770EF is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.8% C 0.186 H 301.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A770EF
RGBrgb(167, 112, 239)
HSLhsl(266, 80%, 69%)
HSVhsv(266, 53%, 94%)
CMYKcmyk(30.1%, 53.1%, 0%, 6.3%)
CIE-LABlab(58.07, 46.82, -56.23)
CIE-LCHlch(58.07, 73.17, 309.78°)
OKLaboklab(65.81% 0.0971 -0.1587)
OKLCHoklch(65.81% 0.186 301.5)
XYZxyz(37.3069, 26.0357, 84.7046)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A770EF #B8EF70
analogous
#7079EF #A770EF #E670EF
triadic
#A770EF #EFA770 #70EFA7
tetradic
#A770EF #EF7079 #B8EF70 #70EFE6
square
#A770EF #EF7079 #B8EF70 #70EFE6
split-complementary
#A770EF #EFE670 #79EF70
monochromatic
#6617CE #8539E9 #A770EF #C9A7F5 #EBDEFB

Accessibility & contrast

On white

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

On black

6.21
#A770EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A770EF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A770EF#FFFFFF#000000##000000
##A770EF1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#418BF3
Deuteranopia (green-blind)
#528BEC
Tritanopia (blue-blind)
#9988A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a770ef;
/* rgb */ color: rgb(167, 112, 239);
/* oklch */ color: oklch(65.8% 0.186 301.5);
Tailwind
colors: {
  custom: {
    50: '#c49bf5',
    500: '#a770ef',
    950: '#000000',
  },
}
SCSS
$custom: #a770ef;
$custom-light: #c49bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a770ef",
  "rgb": {
    "r": 167,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 265.984,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65811,
    "c": 0.18602,
    "h": 301.5
  },
  "luminance": 0.26036
}

Semantic roles & 50–950 ramp

primary
#A770EF
secondary
#E0F0CB
accent
#DC0981
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A770EF

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

Preview Lab → · Contrast checker → · Palette generator →

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