#A07ECC#A07ECC

#A07ECC is a light, moderate violet. Relative luminance 0.268; OKLCH L 65.6% C 0.118 H 303.4°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A07ECC
RGBrgb(160, 126, 204)
HSLhsl(266, 43%, 65%)
HSVhsv(266, 38%, 80%)
CMYKcmyk(21.6%, 38.2%, 0%, 20%)
CIE-LABlab(58.75, 28.72, -35.59)
CIE-LCHlch(58.75, 45.74, 308.90°)
OKLaboklab(65.58% 0.0651 -0.0988)
OKLCHoklch(65.58% 0.118 303.4)
XYZxyz(32.8549, 26.7550, 60.5484)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A07ECC #AACC7E
analogous
#7E83CC #A07ECC #C77ECC
triadic
#A07ECC #CCA07E #7ECCA0
tetradic
#A07ECC #CC7E83 #AACC7E #7ECCC7
square
#A07ECC #CC7E83 #AACC7E #7ECCC7
split-complementary
#A07ECC #CCC77E #83CC7E
monochromatic
#623B95 #8052BB #A07ECC #C0AADD #E1D6EF

Accessibility & contrast

On white

3.31
#A07ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#A07ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A07ECC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A07ECC#FFFFFF#000000##000000
##A07ECC1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8CCF
Deuteranopia (green-blind)
#738DCA
Tritanopia (blue-blind)
#998A9B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a07ecc;
/* rgb */ color: rgb(160, 126, 204);
/* oklch */ color: oklch(65.6% 0.118 303.4);
Tailwind
colors: {
  custom: {
    50: '#bda4dc',
    500: '#a07ecc',
    950: '#000000',
  },
}
SCSS
$custom: #a07ecc;
$custom-light: #bda4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a07ecc",
  "rgb": {
    "r": 160,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 266.154,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65583,
    "c": 0.1183,
    "h": 303.4
  },
  "luminance": 0.26755
}

Semantic roles & 50–950 ramp

primary
#A07ECC
secondary
#D5E0C6
accent
#B62F7B
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#120F15
muted
#817F83

Preview Lab

Preview with #A07ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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