#AC5FEC#AC5FEC

#AC5FEC is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.7% C 0.209 H 306.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AC5FEC
RGBrgb(172, 95, 236)
HSLhsl(273, 79%, 65%)
HSVhsv(273, 60%, 93%)
CMYKcmyk(27.1%, 59.7%, 0%, 7.5%)
CIE-LABlab(55.08, 56.18, -59.31)
CIE-LCHlch(55.08, 81.69, 313.45°)
OKLaboklab(63.69% 0.1242 -0.1675)
OKLCHoklch(63.69% 0.209 306.6)
XYZxyz(36.2426, 23.0116, 81.8730)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FEC #9FEC5F
analogous
#665FEC #AC5FEC #EC5FE5
triadic
#AC5FEC #ECAC5F #5FECAC
tetradic
#AC5FEC #EC665F #9FEC5F #5FE5EC
square
#AC5FEC #EC665F #9FEC5F #5FE5EC
split-complementary
#AC5FEC #E5EC5F #5FEC66
monochromatic
#7016BA #9028E6 #AC5FEC #C896F2 #E5CCF9

Accessibility & contrast

On white

3.75
#AC5FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#AC5FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FEC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FEC#FFFFFF#000000##000000
##AC5FEC1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C81F0
Deuteranopia (green-blind)
#4584E9
Tritanopia (blue-blind)
#A27B9D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ac5fec;
/* rgb */ color: rgb(172, 95, 236);
/* oklch */ color: oklch(63.7% 0.209 306.6);
Tailwind
colors: {
  custom: {
    50: '#c990f3',
    500: '#ac5fec',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fec;
$custom-light: #c990f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fec",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 236
  },
  "hsl": {
    "h": 272.766,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63688,
    "c": 0.20852,
    "h": 306.6
  },
  "luminance": 0.23011
}

Semantic roles & 50–950 ramp

primary
#AC5FEC
secondary
#D1EBBB
accent
#DB0A69
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC5FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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