#AC8CF2#AC8CF2

#AC8CF2 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.1% C 0.148 H 296.9°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#AC8CF2
RGBrgb(172, 140, 242)
HSLhsl(259, 80%, 75%)
HSVhsv(259, 42%, 95%)
CMYKcmyk(28.9%, 42.1%, 0%, 5.1%)
CIE-LABlab(64.91, 33.33, -47.01)
CIE-LCHlch(64.91, 57.62, 305.34°)
OKLaboklab(71.09% 0.0669 -0.1316)
OKLCHoklch(71.09% 0.148 296.9)
XYZxyz(42.4145, 33.9372, 88.3031)
Luminance0.3394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC8CF2 #D2F28C
analogous
#8C9FF2 #AC8CF2 #DF8CF2
triadic
#AC8CF2 #F2AC8C #8CF2AC
tetradic
#AC8CF2 #F28C9F #D2F28C #8CF2DF
square
#AC8CF2 #F28C9F #D2F28C #8CF2DF
split-complementary
#AC8CF2 #F2DF8C #9FF28C
monochromatic
#5D1EE6 #8455EC #AC8CF2 #D4C3F8 #EBE4FC

Accessibility & contrast

On white

2.70
#AC8CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#AC8CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AC8CF2
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC8CF2#FFFFFF#000000##000000
##AC8CF21.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#749CEF
Tritanopia (blue-blind)
#9D9EB3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ac8cf2;
/* rgb */ color: rgb(172, 140, 242);
/* oklch */ color: oklch(71.1% 0.148 296.9);
Tailwind
colors: {
  custom: {
    50: '#c7aef7',
    500: '#ac8cf2',
    950: '#000000',
  },
}
SCSS
$custom: #ac8cf2;
$custom-light: #c7aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac8cf2",
  "rgb": {
    "r": 172,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 258.824,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.71089,
    "c": 0.14766,
    "h": 296.9
  },
  "luminance": 0.33938
}

Semantic roles & 50–950 ramp

primary
#AC8CF2
secondary
#EBF4D7
accent
#DC0A9A
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#131017
muted
#827F85

Preview Lab

Preview with #AC8CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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