#AC70EB#AC70EB

#AC70EB is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.1% C 0.182 H 304.4°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AC70EB
RGBrgb(172, 112, 235)
HSLhsl(269, 75%, 68%)
HSVhsv(269, 52%, 92%)
CMYKcmyk(26.8%, 52.3%, 0%, 7.8%)
CIE-LABlab(58.37, 47.11, -53.49)
CIE-LCHlch(58.37, 71.28, 311.37°)
OKLaboklab(66.08% 0.1031 -0.1505)
OKLCHoklch(66.08% 0.182 304.4)
XYZxyz(37.7996, 26.3573, 81.6773)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC70EB #AFEB70
analogous
#7071EB #AC70EB #E970EB
triadic
#AC70EB #EBAC70 #70EBAC
tetradic
#AC70EB #EB7071 #AFEB70 #70EBE9
square
#AC70EB #EB7071 #AFEB70 #70EBE9
split-complementary
#AC70EB #EBE970 #71EB70
monochromatic
#6E1CC5 #8D3AE3 #AC70EB #CBA6F3 #EADBFA

Accessibility & contrast

On white

3.35
#AC70EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#AC70EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC70EB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC70EB#FFFFFF#000000##000000
##AC70EB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BEF
Deuteranopia (green-blind)
#5A8CE8
Tritanopia (blue-blind)
#A187A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ac70eb;
/* rgb */ color: rgb(172, 112, 235);
/* oklch */ color: oklch(66.1% 0.182 304.4);
Tailwind
colors: {
  custom: {
    50: '#c89bf2',
    500: '#ac70eb',
    950: '#000000',
  },
}
SCSS
$custom: #ac70eb;
$custom-light: #c89bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac70eb",
  "rgb": {
    "r": 172,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 269.268,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66084,
    "c": 0.1824,
    "h": 304.4
  },
  "luminance": 0.26357
}

Semantic roles & 50–950 ramp

primary
#AC70EB
secondary
#DCEEC9
accent
#D80E75
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC70EB

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

Preview Lab → · Contrast checker → · Palette generator →

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