#A17ECB#A17ECB

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

Color values

HEX#A17ECB
RGBrgb(161, 126, 203)
HSLhsl(267, 43%, 65%)
HSVhsv(267, 38%, 80%)
CMYKcmyk(20.7%, 37.9%, 0%, 20.4%)
CIE-LABlab(58.80, 28.79, -34.94)
CIE-LCHlch(58.80, 45.27, 309.48°)
OKLaboklab(65.63% 0.066 -0.0969)
OKLCHoklch(65.63% 0.117 304.3)
XYZxyz(32.9361, 26.8107, 59.9282)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17ECB #A8CB7E
analogous
#7E82CB #A17ECB #C87ECB
triadic
#A17ECB #CBA17E #7ECBA1
tetradic
#A17ECB #CB7E82 #A8CB7E #7ECBC8
square
#A17ECB #CB7E82 #A8CB7E #7ECBC8
split-complementary
#A17ECB #CBC87E #82CB7E
monochromatic
#633B93 #8152B9 #A17ECB #C1AADD #E1D5EE

Accessibility & contrast

On white

3.30
#A17ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#A17ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17ECB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17ECB#FFFFFF#000000##000000
##A17ECB1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8CCE
Deuteranopia (green-blind)
#748EC9
Tritanopia (blue-blind)
#9A8A9B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a17ecb;
/* rgb */ color: rgb(161, 126, 203);
/* oklch */ color: oklch(65.6% 0.117 304.3);
Tailwind
colors: {
  custom: {
    50: '#bea4db',
    500: '#a17ecb',
    950: '#000000',
  },
}
SCSS
$custom: #a17ecb;
$custom-light: #bea4db;
$custom-dark: #000000;
JSON
{
  "hex": "#a17ecb",
  "rgb": {
    "r": 161,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 267.273,
    "s": 42.541,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6563,
    "c": 0.11727,
    "h": 304.3
  },
  "luminance": 0.26811
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A17ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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