#A08ECB#A08ECB

#A08ECB is a light, moderate violet. Relative luminance 0.311; OKLCH L 68.5% C 0.090 H 297.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#A08ECB
RGBrgb(160, 142, 203)
HSLhsl(258, 37%, 68%)
HSVhsv(258, 30%, 80%)
CMYKcmyk(21.2%, 30%, 0%, 20.4%)
CIE-LABlab(62.62, 19.33, -29.02)
CIE-LCHlch(62.62, 34.86, 303.67°)
OKLaboklab(68.52% 0.0417 -0.08)
OKLCHoklch(68.52% 0.09 297.5)
XYZxyz(34.9473, 31.1312, 60.6561)
Luminance0.3113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A08ECB #B9CB8E
analogous
#8E9ACB #A08ECB #BF8ECB
triadic
#A08ECB #CBA08E #8ECBA0
tetradic
#A08ECB #CB8E9A #B9CB8E #8ECBBF
square
#A08ECB #CB8E9A #B9CB8E #8ECBBF
split-complementary
#A08ECB #CBBF8E #9ACB8E
monochromatic
#5E4698 #7D64B8 #A08ECB #C3B8DE #E6E2F2

Accessibility & contrast

On white

2.91
#A08ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#A08ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A08ECB
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A08ECB#FFFFFF#000000##000000
##A08ECB1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8098CE
Deuteranopia (green-blind)
#8397C9
Tritanopia (blue-blind)
#9898A4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a08ecb;
/* rgb */ color: rgb(160, 142, 203);
/* oklch */ color: oklch(68.5% 0.090 297.5);
Tailwind
colors: {
  custom: {
    50: '#bdafdb',
    500: '#a08ecb',
    950: '#000000',
  },
}
SCSS
$custom: #a08ecb;
$custom-light: #bdafdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a08ecb",
  "rgb": {
    "r": 160,
    "g": 142,
    "b": 203
  },
  "hsl": {
    "h": 257.705,
    "s": 36.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68524,
    "c": 0.09023,
    "h": 297.5
  },
  "luminance": 0.31131
}

Semantic roles & 50–950 ramp

primary
#A08ECB
secondary
#DEE4D1
accent
#B0368C
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A08ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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