#AC5FDD#AC5FDD

#AC5FDD is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.8% C 0.192 H 310.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AC5FDD
RGBrgb(172, 95, 221)
HSLhsl(277, 65%, 62%)
HSVhsv(277, 57%, 87%)
CMYKcmyk(22.2%, 57%, 0%, 13.3%)
CIE-LABlab(54.21, 52.83, -52.27)
CIE-LCHlch(54.21, 74.32, 315.30°)
OKLaboklab(62.77% 0.1242 -0.1469)
OKLCHoklch(62.77% 0.192 310.2)
XYZxyz(34.1541, 22.1762, 70.8738)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FDD #90DD5F
analogous
#6D5FDD #AC5FDD #DD5FCF
triadic
#AC5FDD #DDAC5F #5FDDAC
tetradic
#AC5FDD #DD6D5F #90DD5F #5FCFDD
square
#AC5FDD #DD6D5F #90DD5F #5FCFDD
split-complementary
#AC5FDD #CFDD5F #5FDD6D
monochromatic
#6F22A0 #922DD2 #AC5FDD #C691E8 #E0C4F2

Accessibility & contrast

On white

3.86
#AC5FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#AC5FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FDD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FDD#FFFFFF#000000##000000
##AC5FDD1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#357EE1
Deuteranopia (green-blind)
#5283DA
Tritanopia (blue-blind)
#A67695
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ac5fdd;
/* rgb */ color: rgb(172, 95, 221);
/* oklch */ color: oklch(62.8% 0.192 310.2);
Tailwind
colors: {
  custom: {
    50: '#c890e8',
    500: '#ac5fdd',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fdd;
$custom-light: #c890e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fdd",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 276.667,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62773,
    "c": 0.19231,
    "h": 310.2
  },
  "luminance": 0.22176
}

Semantic roles & 50–950 ramp

primary
#AC5FDD
secondary
#C7E3B5
accent
#CD195F
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #AC5FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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