#A07EC2#A07EC2

#A07EC2 is a light, moderate violet. Relative luminance 0.263; OKLCH L 65.1% C 0.105 H 306.6°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A07EC2
RGBrgb(160, 126, 194)
HSLhsl(270, 36%, 63%)
HSVhsv(270, 35%, 76%)
CMYKcmyk(17.5%, 35.1%, 0%, 23.9%)
CIE-LABlab(58.31, 26.41, -30.61)
CIE-LCHlch(58.31, 40.43, 310.79°)
OKLaboklab(65.11% 0.0628 -0.0845)
OKLCHoklch(65.11% 0.105 306.6)
XYZxyz(31.6938, 26.2906, 54.4334)
Luminance0.2629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A07EC2 #A0C27E
analogous
#7E7EC2 #A07EC2 #C27EC2
triadic
#A07EC2 #C2A07E #7EC2A0
tetradic
#A07EC2 #C27E7E #A0C27E #7EC2C2
square
#A07EC2 #C27E7E #A0C27E #7EC2C2
split-complementary
#A07EC2 #C2C27E #7EC27E
monochromatic
#633F86 #8154AE #A07EC2 #BFA8D6 #DDD1E9

Accessibility & contrast

On white

3.36
#A07EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#A07EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A07EC2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A07EC2#FFFFFF#000000##000000
##A07EC21.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#708BC5
Deuteranopia (green-blind)
#778DC0
Tritanopia (blue-blind)
#9B8897
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a07ec2;
/* rgb */ color: rgb(160, 126, 194);
/* oklch */ color: oklch(65.1% 0.105 306.6);
Tailwind
colors: {
  custom: {
    50: '#bda3d4',
    500: '#a07ec2',
    950: '#000000',
  },
}
SCSS
$custom: #a07ec2;
$custom-light: #bda3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a07ec2",
  "rgb": {
    "r": 160,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 270,
    "s": 35.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65109,
    "c": 0.10527,
    "h": 306.6
  },
  "luminance": 0.2629
}

Semantic roles & 50–950 ramp

primary
#A07EC2
secondary
#CEDAC2
accent
#AF3773
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#120F14
muted
#817F83

Preview Lab

Preview with #A07EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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