#AC70F2#AC70F2

#AC70F2 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.5% C 0.191 H 302.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AC70F2
RGBrgb(172, 112, 242)
HSLhsl(268, 83%, 69%)
HSVhsv(268, 54%, 95%)
CMYKcmyk(28.9%, 53.7%, 0%, 5.1%)
CIE-LABlab(58.76, 48.76, -56.77)
CIE-LCHlch(58.76, 74.84, 310.66°)
OKLaboklab(66.49% 0.1034 -0.1601)
OKLCHoklch(66.49% 0.191 302.9)
XYZxyz(38.8308, 26.7698, 87.1086)
Luminance0.2677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC70F2 #B6F270
analogous
#7075F2 #AC70F2 #ED70F2
triadic
#AC70F2 #F2AC70 #70F2AC
tetradic
#AC70F2 #F27075 #B6F270 #70F2ED
square
#AC70F2 #F27075 #B6F270 #70F2ED
split-complementary
#AC70F2 #F2ED70 #75F270
monochromatic
#6C13D4 #8B38ED #AC70F2 #CDA8F7 #EDE0FC

Accessibility & contrast

On white

3.31
#AC70F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#AC70F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC70F2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC70F2#FFFFFF#000000##000000
##AC70F21.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#408CF6
Deuteranopia (green-blind)
#548DEF
Tritanopia (blue-blind)
#9F89A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ac70f2;
/* rgb */ color: rgb(172, 112, 242);
/* oklch */ color: oklch(66.5% 0.191 302.9);
Tailwind
colors: {
  custom: {
    50: '#c89bf7',
    500: '#ac70f2',
    950: '#000000',
  },
}
SCSS
$custom: #ac70f2;
$custom-light: #c89bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac70f2",
  "rgb": {
    "r": 172,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 267.692,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66494,
    "c": 0.19059,
    "h": 302.9
  },
  "luminance": 0.2677
}

Semantic roles & 50–950 ramp

primary
#AC70F2
secondary
#E0F2CC
accent
#E0067B
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AC70F2

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

Preview Lab → · Contrast checker → · Palette generator →

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