#A07FA2#A07FA2

#A07FA2 is a light, moderate purple. Relative luminance 0.253; OKLCH L 64.0% C 0.064 H 324.4°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A07FA2
RGBrgb(160, 127, 162)
HSLhsl(297, 16%, 57%)
HSVhsv(297, 22%, 64%)
CMYKcmyk(1.2%, 21.6%, 0%, 36.5%)
CIE-LABlab(57.33, 19.01, -13.82)
CIE-LCHlch(57.33, 23.50, 323.98°)
OKLaboklab(63.95% 0.052 -0.0372)
OKLCHoklch(63.95% 0.064 324.4)
XYZxyz(28.6074, 25.2616, 37.5444)
Luminance0.2526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A07FA2 #81A27F
analogous
#8F7FA2 #A07FA2 #A27F93
triadic
#A07FA2 #A2A07F #7FA2A0
tetradic
#A07FA2 #A28F7F #81A27F #7F93A2
square
#A07FA2 #A28F7F #81A27F #7F93A2
split-complementary
#A07FA2 #93A27F #7FA28F
monochromatic
#5F4660 #826084 #A07FA2 #BAA2BC #D5C6D6

Accessibility & contrast

On white

3.47
#A07FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#A07FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A07FA2
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A07FA2#FFFFFF#000000##000000
##A07FA21.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C87A3
Deuteranopia (green-blind)
#848BA1
Tritanopia (blue-blind)
#A2828B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a07fa2;
/* rgb */ color: rgb(160, 127, 162);
/* oklch */ color: oklch(64.0% 0.064 324.4);
Tailwind
colors: {
  custom: {
    50: '#bca4bd',
    500: '#a07fa2',
    950: '#000000',
  },
}
SCSS
$custom: #a07fa2;
$custom-light: #bca4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a07fa2",
  "rgb": {
    "r": 160,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 296.571,
    "s": 15.837,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63953,
    "c": 0.06393,
    "h": 324.4
  },
  "luminance": 0.25261
}

Semantic roles & 50–950 ramp

primary
#A07FA2
secondary
#B8C6B7
accent
#B96F73
background
#FBFAFB
surface
#F6F4F6
border
#D0CED0
text
#120F12
muted
#817F81

Preview Lab

Preview with #A07FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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