#AC5EF5#AC5EF5

#AC5EF5 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.1% C 0.220 H 304.7°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#AC5EF5
RGBrgb(172, 94, 245)
HSLhsl(271, 88%, 66%)
HSVhsv(271, 62%, 96%)
CMYKcmyk(29.8%, 61.6%, 0%, 3.9%)
CIE-LABlab(55.45, 58.72, -63.74)
CIE-LCHlch(55.45, 86.67, 312.65°)
OKLaboklab(64.13% 0.1251 -0.1805)
OKLCHoklch(64.13% 0.22 304.7)
XYZxyz(37.4937, 23.3688, 88.9039)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5EF5 #A7F55E
analogous
#615EF5 #AC5EF5 #F55EF3
triadic
#AC5EF5 #F5AC5E #5EF5AC
tetradic
#AC5EF5 #F5615E #A7F55E #5EF3F5
square
#AC5EF5 #F5615E #A7F55E #5EF3F5
split-complementary
#AC5EF5 #F3F55E #5EF561
monochromatic
#6F0DCC #8E24F1 #AC5EF5 #CA98F9 #E7D1FC

Accessibility & contrast

On white

3.70
#AC5EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#AC5EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5EF5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5EF5#FFFFFF#000000##000000
##AC5EF51.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FA
Deuteranopia (green-blind)
#3885F2
Tritanopia (blue-blind)
#9F7DA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ac5ef5;
/* rgb */ color: rgb(172, 94, 245);
/* oklch */ color: oklch(64.1% 0.220 304.7);
Tailwind
colors: {
  custom: {
    50: '#c990f9',
    500: '#ac5ef5',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ef5;
$custom-light: #c990f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ef5",
  "rgb": {
    "r": 172,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 270.993,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6413,
    "c": 0.21959,
    "h": 304.7
  },
  "luminance": 0.23369
}

Semantic roles & 50–950 ramp

primary
#AC5EF5
secondary
#D7F0BF
accent
#E5016F
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC5EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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