#AC5CF9#AC5CF9

#AC5CF9 is a light, highly saturated violet. Relative luminance 0.233; OKLCH L 64.1% C 0.227 H 304.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AC5CF9
RGBrgb(172, 92, 249)
HSLhsl(271, 93%, 67%)
HSVhsv(271, 63%, 98%)
CMYKcmyk(30.9%, 63.1%, 0%, 2.4%)
CIE-LABlab(55.34, 60.62, -66.14)
CIE-LCHlch(55.34, 89.71, 312.51°)
OKLaboklab(64.13% 0.1271 -0.1875)
OKLCHoklch(64.13% 0.227 304.1)
XYZxyz(37.9354, 23.2646, 92.0962)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5CF9 #A9F95C
analogous
#5E5CF9 #AC5CF9 #F95CF8
triadic
#AC5CF9 #F9AC5C #5CF9AC
tetradic
#AC5CF9 #F95E5C #A9F95C #5CF8F9
square
#AC5CF9 #F95E5C #A9F95C #5CF8F9
split-complementary
#AC5CF9 #F8F95C #5CF95E
monochromatic
#6F08D3 #8E21F7 #AC5CF9 #CA97FB #E8D2FD

Accessibility & contrast

On white

3.71
#AC5CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#AC5CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5CF9
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5CF9#FFFFFF#000000##000000
##AC5CF91.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FE
Deuteranopia (green-blind)
#2E84F6
Tritanopia (blue-blind)
#9E7EA3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ac5cf9;
/* rgb */ color: rgb(172, 92, 249);
/* oklch */ color: oklch(64.1% 0.227 304.1);
Tailwind
colors: {
  custom: {
    50: '#c98efc',
    500: '#ac5cf9',
    950: '#000000',
  },
}
SCSS
$custom: #ac5cf9;
$custom-light: #c98efc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5cf9",
  "rgb": {
    "r": 172,
    "g": 92,
    "b": 249
  },
  "hsl": {
    "h": 270.573,
    "s": 92.899,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64133,
    "c": 0.22653,
    "h": 304.1
  },
  "luminance": 0.23265
}

Semantic roles & 50–950 ramp

primary
#AC5CF9
secondary
#D8F2BF
accent
#E60071
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AC5CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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