#AB74E7#AB74E7

#AB74E7 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.4% C 0.171 H 304.2°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AB74E7
RGBrgb(171, 116, 231)
HSLhsl(269, 71%, 68%)
HSVhsv(269, 50%, 91%)
CMYKcmyk(26%, 49.8%, 0%, 9.4%)
CIE-LABlab(58.90, 43.75, -50.43)
CIE-LCHlch(58.90, 66.77, 310.94°)
OKLaboklab(66.38% 0.0963 -0.1416)
OKLCHoklch(66.38% 0.171 304.2)
XYZxyz(37.4607, 26.9184, 78.8081)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74E7 #B0E774
analogous
#7476E7 #AB74E7 #E574E7
triadic
#AB74E7 #E7AB74 #74E7AB
tetradic
#AB74E7 #E77476 #B0E774 #74E7E5
square
#AB74E7 #E77476 #B0E774 #74E7E5
split-complementary
#AB74E7 #E7E574 #76E774
monochromatic
#6D21C0 #8B40DE #AB74E7 #CBA8F0 #EADCF9

Accessibility & contrast

On white

3.29
#AB74E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#AB74E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74E7
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74E7#FFFFFF#000000##000000
##AB74E71.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#518CEB
Deuteranopia (green-blind)
#608EE4
Tritanopia (blue-blind)
#A189A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab74e7;
/* rgb */ color: rgb(171, 116, 231);
/* oklch */ color: oklch(66.4% 0.171 304.2);
Tailwind
colors: {
  custom: {
    50: '#c79def',
    500: '#ab74e7',
    950: '#000000',
  },
}
SCSS
$custom: #ab74e7;
$custom-light: #c79def;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74e7",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 268.696,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66379,
    "c": 0.17124,
    "h": 304.2
  },
  "luminance": 0.26918
}

Semantic roles & 50–950 ramp

primary
#AB74E7
secondary
#DCEDCA
accent
#D31377
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB74E7

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

Preview Lab → · Contrast checker → · Palette generator →

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