#AC8CFD#AC8CFD

#AC8CFD is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.7% C 0.162 H 295.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#AC8CFD
RGBrgb(172, 140, 253)
HSLhsl(257, 97%, 77%)
HSVhsv(257, 45%, 99%)
CMYKcmyk(32%, 44.7%, 0%, 0.8%)
CIE-LABlab(65.45, 36.05, -52.19)
CIE-LCHlch(65.45, 63.43, 304.64°)
OKLaboklab(71.67% 0.0686 -0.1467)
OKLCHoklch(71.67% 0.162 295)
XYZxyz(44.1165, 34.6180, 97.2671)
Luminance0.3462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8CFD #DDFD8C
analogous
#8CA5FD #AC8CFD #E48CFD
triadic
#AC8CFD #FDAC8C #8CFDAC
tetradic
#AC8CFD #FD8CA5 #DDFD8C #8CFDE4
square
#AC8CFD #FD8CA5 #DDFD8C #8CFDE4
split-complementary
#AC8CFD #FDE48C #A5FD8C
monochromatic
#5514FB #8150FC #AC8CFD #D7C8FE #E9E1FE

Accessibility & contrast

On white

2.65
#AC8CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#AC8CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8CFD
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8CFD#FFFFFF#000000##000000
##AC8CFD1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#6D9DFA
Tritanopia (blue-blind)
#9AA1B8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ac8cfd;
/* rgb */ color: rgb(172, 140, 253);
/* oklch */ color: oklch(71.7% 0.162 295.0);
Tailwind
colors: {
  custom: {
    50: '#c8aefe',
    500: '#ac8cfd',
    950: '#000000',
  },
}
SCSS
$custom: #ac8cfd;
$custom-light: #c8aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8cfd",
  "rgb": {
    "r": 172,
    "g": 140,
    "b": 253
  },
  "hsl": {
    "h": 256.991,
    "s": 96.581,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71669,
    "c": 0.16194,
    "h": 295
  },
  "luminance": 0.34619
}

Semantic roles & 50–950 ramp

primary
#AC8CFD
secondary
#EDF7D4
accent
#E600A5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #AC8CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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