#AC8ECB#AC8ECB

#AC8ECB is a light, moderate violet. Relative luminance 0.324; OKLCH L 69.6% C 0.093 H 306.6°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#AC8ECB
RGBrgb(172, 142, 203)
HSLhsl(270, 37%, 68%)
HSVhsv(270, 30%, 80%)
CMYKcmyk(15.3%, 30%, 0%, 20.4%)
CIE-LABlab(63.70, 23.09, -27.26)
CIE-LCHlch(63.70, 35.73, 310.26°)
OKLaboklab(69.61% 0.0556 -0.0748)
OKLCHoklch(69.61% 0.093 306.6)
XYZxyz(37.4637, 32.4287, 60.7741)
Luminance0.3243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8ECB #ADCB8E
analogous
#8E8ECB #AC8ECB #CA8ECB
triadic
#AC8ECB #CBAC8E #8ECBAC
tetradic
#AC8ECB #CB8E8E #ADCB8E #8ECBCA
square
#AC8ECB #CB8E8E #ADCB8E #8ECBCA
split-complementary
#AC8ECB #CBCA8E #8ECB8E
monochromatic
#6F4698 #8D64B8 #AC8ECB #CBB8DE #EAE2F2

Accessibility & contrast

On white

2.81
#AC8ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#AC8ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8ECB
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8ECB#FFFFFF#000000##000000
##AC8ECB1.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8399CD
Deuteranopia (green-blind)
#899BC9
Tritanopia (blue-blind)
#A897A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ac8ecb;
/* rgb */ color: rgb(172, 142, 203);
/* oklch */ color: oklch(69.6% 0.093 306.6);
Tailwind
colors: {
  custom: {
    50: '#c5afdb',
    500: '#ac8ecb',
    950: '#000000',
  },
}
SCSS
$custom: #ac8ecb;
$custom-light: #c5afdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8ecb",
  "rgb": {
    "r": 172,
    "g": 142,
    "b": 203
  },
  "hsl": {
    "h": 269.508,
    "s": 36.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69607,
    "c": 0.0932,
    "h": 306.6
  },
  "luminance": 0.32428
}

Semantic roles & 50–950 ramp

primary
#AC8ECB
secondary
#DBE4D1
accent
#B03674
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AC8ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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