#AC5FFF#AC5FFF

#AC5FFF is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.9% C 0.229 H 302.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AC5FFF
RGBrgb(172, 95, 255)
HSLhsl(269, 100%, 69%)
HSVhsv(269, 63%, 100%)
CMYKcmyk(32.5%, 62.7%, 0%, 0%)
CIE-LABlab(56.26, 60.55, -67.98)
CIE-LCHlch(56.26, 91.03, 311.69°)
OKLaboklab(64.92% 0.1234 -0.1929)
OKLCHoklch(64.92% 0.229 302.6)
XYZxyz(39.1513, 24.1750, 97.1920)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC5FFF #B2FF5F
analogous
#5F62FF #AC5FFF #FC5FFF
triadic
#AC5FFF #FFAC5F #5FFFAC
tetradic
#AC5FFF #FF5F62 #B2FF5F #5FFFFC
square
#AC5FFF #FF5F62 #B2FF5F #5FFFFC
split-complementary
#AC5FFF #FFFC5F #62FF5F
monochromatic
#6E00E4 #8C22FF #AC5FFF #CC9CFF #EBD9FF

Accessibility & contrast

On white

3.60
#AC5FFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#AC5FFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC5FFF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC5FFF#FFFFFF#000000##000000
##AC5FFF1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#2986FB
Tritanopia (blue-blind)
#9C82A7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ac5fff;
/* rgb */ color: rgb(172, 95, 255);
/* oklch */ color: oklch(64.9% 0.229 302.6);
Tailwind
colors: {
  custom: {
    50: '#ca90ff',
    500: '#ac5fff',
    950: '#000000',
  },
}
SCSS
$custom: #ac5fff;
$custom-light: #ca90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ac5fff",
  "rgb": {
    "r": 172,
    "g": 95,
    "b": 255
  },
  "hsl": {
    "h": 268.875,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.64919,
    "c": 0.22901,
    "h": 302.6
  },
  "luminance": 0.24175
}

Semantic roles & 50–950 ramp

primary
#AC5FFF
secondary
#DEF5C5
accent
#E60077
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86

Preview Lab

Preview with #AC5FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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