#AC5FEB#AC5FEB

#AC5FEB is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.6% C 0.207 H 306.8°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#AC5FEB
RGBrgb(172, 95, 235)
HSLhsl(273, 78%, 65%)
HSVhsv(273, 60%, 92%)
CMYKcmyk(26.8%, 59.6%, 0%, 7.8%)
CIE-LABlab(55.02, 55.95, -58.85)
CIE-LCHlch(55.02, 81.20, 313.56°)
OKLaboklab(63.63% 0.1242 -0.1661)
OKLCHoklch(63.63% 0.207 306.8)
XYZxyz(36.0977, 22.9536, 81.1100)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FEB #9EEB5F
analogous
#665FEB #AC5FEB #EB5FE4
triadic
#AC5FEB #EBAC5F #5FEBAC
tetradic
#AC5FEB #EB665F #9EEB5F #5FE4EB
square
#AC5FEB #EB665F #9EEB5F #5FE4EB
split-complementary
#AC5FEB #E4EB5F #5FEB66
monochromatic
#7017B9 #9029E4 #AC5FEB #C895F2 #E4CCF9

Accessibility & contrast

On white

3.76
#AC5FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#AC5FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FEB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FEB#FFFFFF#000000##000000
##AC5FEB1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E81EF
Deuteranopia (green-blind)
#4684E8
Tritanopia (blue-blind)
#A27B9C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ac5feb;
/* rgb */ color: rgb(172, 95, 235);
/* oklch */ color: oklch(63.6% 0.207 306.8);
Tailwind
colors: {
  custom: {
    50: '#c890f2',
    500: '#ac5feb',
    950: '#000000',
  },
}
SCSS
$custom: #ac5feb;
$custom-light: #c890f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5feb",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 273,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63626,
    "c": 0.20743,
    "h": 306.8
  },
  "luminance": 0.22953
}

Semantic roles & 50–950 ramp

primary
#AC5FEB
secondary
#D0EBBB
accent
#DA0B68
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC5FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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