#A770FD#A770FD

#A770FD is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 66.7% C 0.203 H 298.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A770FD
RGBrgb(167, 112, 253)
HSLhsl(263, 97%, 72%)
HSVhsv(263, 56%, 99%)
CMYKcmyk(34%, 55.7%, 0%, 0.8%)
CIE-LABlab(58.88, 50.24, -62.69)
CIE-LCHlch(58.88, 80.34, 308.71°)
OKLaboklab(66.66% 0.0976 -0.1776)
OKLCHoklch(66.66% 0.203 298.8)
XYZxyz(39.4558, 26.8953, 96.0221)
Luminance0.2690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A770FD #C6FD70
analogous
#7080FD #A770FD #ED70FD
triadic
#A770FD #FDA770 #70FDA7
tetradic
#A770FD #FD7080 #C6FD70 #70FDED
square
#A770FD #FD7080 #C6FD70 #70FDED
split-complementary
#A770FD #FDED70 #80FD70
monochromatic
#5F03EF #8234FC #A770FD #CCACFE #ECE1FF

Accessibility & contrast

On white

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

On black

6.38
#A770FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A770FD
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A770FD#FFFFFF#000000##000000
##A770FD1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8EFF
Deuteranopia (green-blind)
#448CFA
Tritanopia (blue-blind)
#948DAC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a770fd;
/* rgb */ color: rgb(167, 112, 253);
/* oklch */ color: oklch(66.7% 0.203 298.8);
Tailwind
colors: {
  custom: {
    50: '#c59bff',
    500: '#a770fd',
    950: '#000000',
  },
}
SCSS
$custom: #a770fd;
$custom-light: #c59bff;
$custom-dark: #000000;
JSON
{
  "hex": "#a770fd",
  "rgb": {
    "r": 167,
    "g": 112,
    "b": 253
  },
  "hsl": {
    "h": 263.404,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66665,
    "c": 0.20264,
    "h": 298.8
  },
  "luminance": 0.26896
}

Semantic roles & 50–950 ramp

primary
#A770FD
secondary
#E8F7D2
accent
#E6008C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A770FD

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

Preview Lab → · Contrast checker → · Palette generator →

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