#AC74CB#AC74CB

#AC74CB is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.0% C 0.138 H 312.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AC74CB
RGBrgb(172, 116, 203)
HSLhsl(279, 46%, 63%)
HSVhsv(279, 43%, 80%)
CMYKcmyk(15.3%, 42.9%, 0%, 20.4%)
CIE-LABlab(57.63, 37.69, -36.68)
CIE-LCHlch(57.63, 52.59, 315.78°)
OKLaboklab(65.01% 0.0937 -0.1016)
OKLCHoklch(65.01% 0.138 312.7)
XYZxyz(34.0363, 25.5739, 59.6316)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC74CB #93CB74
analogous
#8174CB #AC74CB #CB74BE
triadic
#AC74CB #CBAC74 #74CBAC
tetradic
#AC74CB #CB8174 #93CB74 #74BECB
square
#AC74CB #CB8174 #93CB74 #74BECB
split-complementary
#AC74CB #BECB74 #74CB81
monochromatic
#6F368F #9147BA #AC74CB #C7A1DC #E1CDEC

Accessibility & contrast

On white

3.43
#AC74CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#AC74CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AC74CB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC74CB#FFFFFF#000000##000000
##AC74CB1.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6387CE
Deuteranopia (green-blind)
#718CC9
Tritanopia (blue-blind)
#A98196
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ac74cb;
/* rgb */ color: rgb(172, 116, 203);
/* oklch */ color: oklch(65.0% 0.138 312.7);
Tailwind
colors: {
  custom: {
    50: '#c69ddb',
    500: '#ac74cb',
    950: '#000000',
  },
}
SCSS
$custom: #ac74cb;
$custom-light: #c69ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#ac74cb",
  "rgb": {
    "r": 172,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 278.621,
    "s": 45.55,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65008,
    "c": 0.13825,
    "h": 312.7
  },
  "luminance": 0.25573
}

Semantic roles & 50–950 ramp

primary
#AC74CB
secondary
#C9DDBE
accent
#B92D5F
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AC74CB

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

Preview Lab → · Contrast checker → · Palette generator →

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