#A08ECC#A08ECC

#A08ECC is a light, moderate violet. Relative luminance 0.312; OKLCH L 68.6% C 0.092 H 297.3°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#A08ECC
RGBrgb(160, 142, 204)
HSLhsl(257, 38%, 68%)
HSVhsv(257, 30%, 80%)
CMYKcmyk(21.6%, 30.4%, 0%, 20%)
CIE-LABlab(62.66, 19.57, -29.51)
CIE-LCHlch(62.66, 35.41, 303.54°)
OKLaboklab(68.57% 0.042 -0.0814)
OKLCHoklch(68.57% 0.092 297.3)
XYZxyz(35.0669, 31.1790, 61.2857)
Luminance0.3118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A08ECC #BACC8E
analogous
#8E9BCC #A08ECC #BF8ECC
triadic
#A08ECC #CCA08E #8ECCA0
tetradic
#A08ECC #CC8E9B #BACC8E #8ECCBF
square
#A08ECC #CC8E9B #BACC8E #8ECCBF
split-complementary
#A08ECC #CCBF8E #9BCC8E
monochromatic
#5E469A #7D64B9 #A08ECC #C3B8DF #E7E2F2

Accessibility & contrast

On white

2.90
#A08ECC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#A08ECC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A08ECC
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A08ECC#FFFFFF#000000##000000
##A08ECC1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8098CF
Deuteranopia (green-blind)
#8297CA
Tritanopia (blue-blind)
#9898A4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a08ecc;
/* rgb */ color: rgb(160, 142, 204);
/* oklch */ color: oklch(68.6% 0.092 297.3);
Tailwind
colors: {
  custom: {
    50: '#bdafdb',
    500: '#a08ecc',
    950: '#000000',
  },
}
SCSS
$custom: #a08ecc;
$custom-light: #bdafdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a08ecc",
  "rgb": {
    "r": 160,
    "g": 142,
    "b": 204
  },
  "hsl": {
    "h": 257.419,
    "s": 37.805,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68568,
    "c": 0.09161,
    "h": 297.3
  },
  "luminance": 0.31179
}

Semantic roles & 50–950 ramp

primary
#A08ECC
secondary
#DFE4D1
accent
#B1358D
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A08ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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