#AC51EE#AC51EE

#AC51EE is a light, highly saturated violet. Relative luminance 0.208; OKLCH L 62.0% C 0.229 H 307.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AC51EE
RGBrgb(172, 81, 238)
HSLhsl(275, 82%, 63%)
HSVhsv(275, 66%, 93%)
CMYKcmyk(27.7%, 66%, 0%, 6.7%)
CIE-LABlab(52.76, 63.30, -64.17)
CIE-LCHlch(52.76, 90.14, 314.61°)
OKLaboklab(62.05% 0.14 -0.1817)
OKLCHoklch(62.05% 0.229 307.6)
XYZxyz(35.3851, 20.8290, 83.0286)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC51EE #93EE51
analogous
#5D51EE #AC51EE #EE51E2
triadic
#AC51EE #EEAC51 #51EEAC
tetradic
#AC51EE #EE5D51 #93EE51 #51E2EE
square
#AC51EE #EE5D51 #93EE51 #51E2EE
split-complementary
#AC51EE #E2EE51 #51EE5D
monochromatic
#6F11B3 #9119E9 #AC51EE #C789F3 #E1C1F9

Accessibility & contrast

On white

4.07
#AC51EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#AC51EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC51EE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC51EE#FFFFFF#000000##000000
##AC51EE1.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF3
Deuteranopia (green-blind)
#2E7FEB
Tritanopia (blue-blind)
#A17399
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ac51ee;
/* rgb */ color: rgb(172, 81, 238);
/* oklch */ color: oklch(62.0% 0.229 307.6);
Tailwind
colors: {
  custom: {
    50: '#c988f4',
    500: '#ac51ee',
    950: '#000000',
  },
}
SCSS
$custom: #ac51ee;
$custom-light: #c988f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac51ee",
  "rgb": {
    "r": 172,
    "g": 81,
    "b": 238
  },
  "hsl": {
    "h": 274.777,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62049,
    "c": 0.22933,
    "h": 307.6
  },
  "luminance": 0.20829
}

Semantic roles & 50–950 ramp

primary
#AC51EE
secondary
#C9EAB1
accent
#DF0762
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AC51EE

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

Preview Lab → · Contrast checker → · Palette generator →

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