#AC5EF3#AC5EF3

#AC5EF3 is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 64.0% C 0.217 H 305.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AC5EF3
RGBrgb(172, 94, 243)
HSLhsl(271, 86%, 66%)
HSVhsv(271, 61%, 95%)
CMYKcmyk(29.2%, 61.3%, 0%, 4.7%)
CIE-LABlab(55.33, 58.27, -62.83)
CIE-LCHlch(55.33, 85.69, 312.84°)
OKLaboklab(64% 0.1252 -0.1778)
OKLCHoklch(64% 0.217 305.1)
XYZxyz(37.1901, 23.2474, 87.3046)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5EF3 #A5F35E
analogous
#615EF3 #AC5EF3 #F35EF0
triadic
#AC5EF3 #F3AC5E #5EF3AC
tetradic
#AC5EF3 #F3615E #A5F35E #5EF0F3
square
#AC5EF3 #F3615E #A5F35E #5EF0F3
split-complementary
#AC5EF3 #F0F35E #5EF361
monochromatic
#700FC8 #8F25EF #AC5EF3 #C997F7 #E7D0FB

Accessibility & contrast

On white

3.72
#AC5EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC5EF3#FFFFFF#000000##000000
##AC5EF31.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F8
Deuteranopia (green-blind)
#3B85F0
Tritanopia (blue-blind)
#A07DA0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ac5ef3;
/* rgb */ color: rgb(172, 94, 243);
/* oklch */ color: oklch(64.0% 0.217 305.1);
Tailwind
colors: {
  custom: {
    50: '#c98ff8',
    500: '#ac5ef3',
    950: '#000000',
  },
}
SCSS
$custom: #ac5ef3;
$custom-light: #c98ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5ef3",
  "rgb": {
    "r": 172,
    "g": 94,
    "b": 243
  },
  "hsl": {
    "h": 271.409,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64,
    "c": 0.21745,
    "h": 305.1
  },
  "luminance": 0.23247
}

Semantic roles & 50–950 ramp

primary
#AC5EF3
secondary
#D5EFBE
accent
#E3036D
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D17
muted
#827E85

Preview Lab

Preview with #AC5EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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