#AB74CE#AB74CE

#AB74CE is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.1% C 0.141 H 311.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AB74CE
RGBrgb(171, 116, 206)
HSLhsl(277, 48%, 63%)
HSVhsv(277, 44%, 81%)
CMYKcmyk(17%, 43.7%, 0%, 19.2%)
CIE-LABlab(57.66, 38.05, -38.34)
CIE-LCHlch(57.66, 54.02, 314.78°)
OKLaboklab(65.05% 0.093 -0.1065)
OKLCHoklch(65.05% 0.141 311.1)
XYZxyz(34.1786, 25.6055, 61.5224)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74CE #97CE74
analogous
#7E74CE #AB74CE #CE74C4
triadic
#AB74CE #CEAB74 #74CEAB
tetradic
#AB74CE #CE7E74 #97CE74 #74C4CE
square
#AB74CE #CE7E74 #97CE74 #74C4CE
split-complementary
#AB74CE #C4CE74 #74CE7E
monochromatic
#6E3494 #9047BE #AB74CE #C6A1DE #E2CEEE

Accessibility & contrast

On white

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

On black

6.12
#AB74CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74CE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74CE#FFFFFF#000000##000000
##AB74CE1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6188D1
Deuteranopia (green-blind)
#6F8CCC
Tritanopia (blue-blind)
#A78297
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab74ce;
/* rgb */ color: rgb(171, 116, 206);
/* oklch */ color: oklch(65.1% 0.141 311.1);
Tailwind
colors: {
  custom: {
    50: '#c59ddd',
    500: '#ab74ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab74ce;
$custom-light: #c59ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74ce",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 206
  },
  "hsl": {
    "h": 276.667,
    "s": 47.872,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65052,
    "c": 0.14137,
    "h": 311.1
  },
  "luminance": 0.25605
}

Semantic roles & 50–950 ramp

primary
#AB74CE
secondary
#CBDFBF
accent
#BB2A63
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB74CE

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

Preview Lab → · Contrast checker → · Palette generator →

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