#AC5EFB#AC5EFB

#AC5EFB is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.5% C 0.226 H 303.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AC5EFB
RGBrgb(172, 94, 251)
HSLhsl(270, 95%, 68%)
HSVhsv(270, 63%, 98%)
CMYKcmyk(31.5%, 62.5%, 0%, 1.6%)
CIE-LABlab(55.83, 60.11, -66.47)
CIE-LCHlch(55.83, 89.61, 312.12°)
OKLaboklab(64.52% 0.1247 -0.1885)
OKLCHoklch(64.52% 0.226 303.5)
XYZxyz(38.4246, 23.7412, 93.8063)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5EFB #ADFB5E
analogous
#5E5EFB #AC5EFB #FB5EFB
triadic
#AC5EFB #FBAC5E #5EFBAC
tetradic
#AC5EFB #FB5E5E #ADFB5E #5EFBFB
square
#AC5EFB #FB5E5E #ADFB5E #5EFBFB
split-complementary
#AC5EFB #FBFB5E #5EFB5E
monochromatic
#6F05D9 #8D22FA #AC5EFB #CB9AFC #EAD5FE

Accessibility & contrast

On white

3.65
#AC5EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#AC5EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5EFB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5EFB#FFFFFF#000000##000000
##AC5EFB1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#2F86F8
Tritanopia (blue-blind)
#9D80A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ac5efb;
/* rgb */ color: rgb(172, 94, 251);
/* oklch */ color: oklch(64.5% 0.226 303.5);
Tailwind
colors: {
  custom: {
    50: '#ca90fd',
    500: '#ac5efb',
    950: '#000000',
  },
}
SCSS
$custom: #ac5efb;
$custom-light: #ca90fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5efb",
  "rgb": {
    "r": 172,
    "g": 94,
    "b": 251
  },
  "hsl": {
    "h": 269.809,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64523,
    "c": 0.22603,
    "h": 303.5
  },
  "luminance": 0.23741
}

Semantic roles & 50–950 ramp

primary
#AC5EFB
secondary
#DBF3C2
accent
#E60073
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AC5EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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