#AC8ECF#AC8ECF

#AC8ECF is a light, moderate violet. Relative luminance 0.326; OKLCH L 69.8% C 0.098 H 305.1°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#AC8ECF
RGBrgb(172, 142, 207)
HSLhsl(268, 40%, 68%)
HSVhsv(268, 31%, 81%)
CMYKcmyk(16.9%, 31.4%, 0%, 18.8%)
CIE-LABlab(63.85, 23.97, -29.26)
CIE-LCHlch(63.85, 37.82, 309.33°)
OKLaboklab(69.78% 0.0566 -0.0805)
OKLCHoklch(69.78% 0.098 305.1)
XYZxyz(37.9465, 32.6218, 63.3169)
Luminance0.3262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8ECF #B1CF8E
analogous
#8E90CF #AC8ECF #CC8ECF
triadic
#AC8ECF #CFAC8E #8ECFAC
tetradic
#AC8ECF #CF8E90 #B1CF8E #8ECFCC
square
#AC8ECF #CF8E90 #B1CF8E #8ECFCC
split-complementary
#AC8ECF #CFCC8E #90CF8E
monochromatic
#6E449F #8C63BD #AC8ECF #CCB9E1 #EBE4F3

Accessibility & contrast

On white

2.79
#AC8ECF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#AC8ECF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8ECF
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8ECF#FFFFFF#000000##000000
##AC8ECF1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#819AD2
Deuteranopia (green-blind)
#879BCD
Tritanopia (blue-blind)
#A797A5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ac8ecf;
/* rgb */ color: rgb(172, 142, 207);
/* oklch */ color: oklch(69.8% 0.098 305.1);
Tailwind
colors: {
  custom: {
    50: '#c5afde',
    500: '#ac8ecf',
    950: '#000000',
  },
}
SCSS
$custom: #ac8ecf;
$custom-light: #c5afde;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8ecf",
  "rgb": {
    "r": 172,
    "g": 142,
    "b": 207
  },
  "hsl": {
    "h": 267.692,
    "s": 40.373,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6978,
    "c": 0.09843,
    "h": 305.1
  },
  "luminance": 0.32622
}

Semantic roles & 50–950 ramp

primary
#AC8ECF
secondary
#DDE6D3
accent
#B33278
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AC8ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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