#A770F9#A770F9

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

Color values

HEX#A770F9
RGBrgb(167, 112, 249)
HSLhsl(264, 92%, 71%)
HSVhsv(264, 55%, 98%)
CMYKcmyk(32.9%, 55%, 0%, 2.4%)
CIE-LABlab(58.64, 49.26, -60.86)
CIE-LCHlch(58.64, 78.30, 308.98°)
OKLaboklab(66.42% 0.0975 -0.1722)
OKLCHoklch(66.42% 0.198 299.5)
XYZxyz(38.8253, 26.6431, 92.7013)
Luminance0.2664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A770F9 #C2F970
analogous
#707DF9 #A770F9 #EC70F9
triadic
#A770F9 #F9A770 #70F9A7
tetradic
#A770F9 #F9707D #C2F970 #70F9EC
square
#A770F9 #F9707D #C2F970 #70F9EC
split-complementary
#A770F9 #F9EC70 #7DF970
monochromatic
#620AE5 #8335F7 #A770F9 #CBABFB #EDE2FE

Accessibility & contrast

On white

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

On black

6.33
#A770F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A770F9
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A770F9#FFFFFF#000000##000000
##A770F91.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#358DFE
Deuteranopia (green-blind)
#488CF6
Tritanopia (blue-blind)
#968CAA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a770f9;
/* rgb */ color: rgb(167, 112, 249);
/* oklch */ color: oklch(66.4% 0.198 299.5);
Tailwind
colors: {
  custom: {
    50: '#c59bfc',
    500: '#a770f9',
    950: '#000000',
  },
}
SCSS
$custom: #a770f9;
$custom-light: #c59bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a770f9",
  "rgb": {
    "r": 167,
    "g": 112,
    "b": 249
  },
  "hsl": {
    "h": 264.088,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66417,
    "c": 0.19791,
    "h": 299.5
  },
  "luminance": 0.26643
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A770F9

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

Preview Lab → · Contrast checker → · Palette generator →

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