#A07ECB#A07ECB

#A07ECB is a light, moderate violet. Relative luminance 0.267; OKLCH L 65.5% C 0.117 H 303.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A07ECB
RGBrgb(160, 126, 203)
HSLhsl(266, 43%, 65%)
HSVhsv(266, 38%, 80%)
CMYKcmyk(21.2%, 37.9%, 0%, 20.4%)
CIE-LABlab(58.70, 28.49, -35.10)
CIE-LCHlch(58.70, 45.20, 309.06°)
OKLaboklab(65.53% 0.0648 -0.0974)
OKLCHoklch(65.53% 0.117 303.7)
XYZxyz(32.7353, 26.7072, 59.9188)
Luminance0.2671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A07ECB #A9CB7E
analogous
#7E83CB #A07ECB #C77ECB
triadic
#A07ECB #CBA07E #7ECBA0
tetradic
#A07ECB #CB7E83 #A9CB7E #7ECBC7
square
#A07ECB #CB7E83 #A9CB7E #7ECBC7
split-complementary
#A07ECB #CBC77E #83CB7E
monochromatic
#623B93 #8052B9 #A07ECB #C0AADD #E0D5EE

Accessibility & contrast

On white

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

On black

6.34
#A07ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A07ECB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A07ECB#FFFFFF#000000##000000
##A07ECB1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a07ecb;
/* rgb */ color: rgb(160, 126, 203);
/* oklch */ color: oklch(65.5% 0.117 303.7);
Tailwind
colors: {
  custom: {
    50: '#bda3db',
    500: '#a07ecb',
    950: '#000000',
  },
}
SCSS
$custom: #a07ecb;
$custom-light: #bda3db;
$custom-dark: #000000;
JSON
{
  "hex": "#a07ecb",
  "rgb": {
    "r": 160,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 266.494,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65534,
    "c": 0.11699,
    "h": 303.7
  },
  "luminance": 0.26707
}

Semantic roles & 50–950 ramp

primary
#A07ECB
secondary
#D4E0C5
accent
#B6307B
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#120F15
muted
#817F83

Preview Lab

Preview with #A07ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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