#A07AFE#A07AFE

#A07AFE is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.6% C 0.189 H 294.0°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A07AFE
RGBrgb(160, 122, 254)
HSLhsl(257, 99%, 74%)
HSVhsv(257, 52%, 100%)
CMYKcmyk(37%, 52%, 0%, 0.4%)
CIE-LABlab(60.38, 43.40, -60.87)
CIE-LCHlch(60.38, 74.76, 305.49°)
OKLaboklab(67.64% 0.0769 -0.1725)
OKLCHoklch(67.64% 0.189 294)
XYZxyz(39.3415, 28.5476, 97.1842)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A07AFE #D8FE7A
analogous
#7A96FE #A07AFE #E27AFE
triadic
#A07AFE #FEA07A #7AFEA0
tetradic
#A07AFE #FE7A96 #D8FE7A #7AFEE2
square
#A07AFE #FE7A96 #D8FE7A #7AFEE2
split-complementary
#A07AFE #FEE27A #96FE7A
monochromatic
#4A02FC #753DFE #A07AFE #CBB7FE #E9E1FF

Accessibility & contrast

On white

3.13
#A07AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#A07AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A07AFE
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A07AFE#FFFFFF#000000##000000
##A07AFE1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#4B8FFB
Tritanopia (blue-blind)
#8995B1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a07afe;
/* rgb */ color: rgb(160, 122, 254);
/* oklch */ color: oklch(67.6% 0.189 294.0);
Tailwind
colors: {
  custom: {
    50: '#c0a1ff',
    500: '#a07afe',
    950: '#000000',
  },
}
SCSS
$custom: #a07afe;
$custom-light: #c0a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a07afe",
  "rgb": {
    "r": 160,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 257.273,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67637,
    "c": 0.18884,
    "h": 294
  },
  "luminance": 0.28548
}

Semantic roles & 50–950 ramp

primary
#A07AFE
secondary
#EDF7D4
accent
#E600A3
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A07AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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