#A770FE#A770FE

#A770FE is a light, highly saturated violet. Relative luminance 0.270; OKLCH L 66.7% C 0.204 H 298.6°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A770FE
RGBrgb(167, 112, 254)
HSLhsl(263, 99%, 72%)
HSVhsv(263, 56%, 100%)
CMYKcmyk(34.3%, 55.9%, 0%, 0.4%)
CIE-LABlab(58.94, 50.49, -63.15)
CIE-LCHlch(58.94, 80.85, 308.64°)
OKLaboklab(66.73% 0.0976 -0.1789)
OKLCHoklch(66.73% 0.204 298.6)
XYZxyz(39.6155, 26.9592, 96.8632)
Luminance0.2696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A770FE #C7FE70
analogous
#7080FE #A770FE #EE70FE
triadic
#A770FE #FEA770 #70FEA7
tetradic
#A770FE #FE7080 #C7FE70 #70FEEE
square
#A770FE #FE7080 #C7FE70 #70FEEE
split-complementary
#A770FE #FEEE70 #80FE70
monochromatic
#5F02F2 #8233FE #A770FE #CCADFE #ECE1FF

Accessibility & contrast

On white

3.29
#A770FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#A770FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A770FE
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A770FE#FFFFFF#000000##000000
##A770FE1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D8EFF
Deuteranopia (green-blind)
#438CFB
Tritanopia (blue-blind)
#948DAC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a770fe;
/* rgb */ color: rgb(167, 112, 254);
/* oklch */ color: oklch(66.7% 0.204 298.6);
Tailwind
colors: {
  custom: {
    50: '#c69bff',
    500: '#a770fe',
    950: '#000000',
  },
}
SCSS
$custom: #a770fe;
$custom-light: #c69bff;
$custom-dark: #000000;
JSON
{
  "hex": "#a770fe",
  "rgb": {
    "r": 167,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 263.239,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66728,
    "c": 0.20381,
    "h": 298.6
  },
  "luminance": 0.2696
}

Semantic roles & 50–950 ramp

primary
#A770FE
secondary
#E9F7D3
accent
#E6008D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A770FE

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

Preview Lab → · Contrast checker → · Palette generator →

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