#AC87FA#AC87FA

#AC87FA is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.7% C 0.166 H 296.8°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#AC87FA
RGBrgb(172, 135, 250)
HSLhsl(259, 92%, 75%)
HSVhsv(259, 46%, 98%)
CMYKcmyk(31.2%, 46%, 0%, 2%)
CIE-LABlab(64.16, 38.10, -52.59)
CIE-LCHlch(64.16, 64.94, 305.92°)
OKLaboklab(70.65% 0.0746 -0.1479)
OKLCHoklch(70.65% 0.166 296.8)
XYZxyz(42.9283, 33.0002, 94.5319)
Luminance0.3300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC87FA #D5FA87
analogous
#879BFA #AC87FA #E587FA
triadic
#AC87FA #FAAC87 #87FAAC
tetradic
#AC87FA #FA879B #D5FA87 #87FAE5
square
#AC87FA #FA879B #D5FA87 #87FAE5
split-complementary
#AC87FA #FAE587 #9BFA87
monochromatic
#5B11F5 #834CF8 #AC87FA #D5C2FC #EBE2FE

Accessibility & contrast

On white

2.76
#AC87FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#AC87FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC87FA
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC87FA#FFFFFF#000000##000000
##AC87FA1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#699AF7
Tritanopia (blue-blind)
#9B9CB5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ac87fa;
/* rgb */ color: rgb(172, 135, 250);
/* oklch */ color: oklch(70.7% 0.166 296.8);
Tailwind
colors: {
  custom: {
    50: '#c8aafc',
    500: '#ac87fa',
    950: '#000000',
  },
}
SCSS
$custom: #ac87fa;
$custom-light: #c8aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac87fa",
  "rgb": {
    "r": 172,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 259.304,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70651,
    "c": 0.16565,
    "h": 296.8
  },
  "luminance": 0.33001
}

Semantic roles & 50–950 ramp

primary
#AC87FA
secondary
#EBF6D5
accent
#E6009C
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AC87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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