#AB74DF#AB74DF

#AB74DF is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.9% C 0.162 H 306.2°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AB74DF
RGBrgb(171, 116, 223)
HSLhsl(271, 63%, 66%)
HSVhsv(271, 48%, 87%)
CMYKcmyk(23.3%, 48%, 0%, 12.5%)
CIE-LABlab(58.49, 41.89, -46.61)
CIE-LCHlch(58.49, 62.67, 311.94°)
OKLaboklab(65.94% 0.0954 -0.1305)
OKLCHoklch(65.94% 0.162 306.2)
XYZxyz(36.3565, 26.4767, 72.9929)
Luminance0.2648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74DF #A8DF74
analogous
#7674DF #AB74DF #DF74DE
triadic
#AB74DF #DFAB74 #74DFAB
tetradic
#AB74DF #DF7674 #A8DF74 #74DEDF
square
#AB74DF #DF7674 #A8DF74 #74DEDF
split-complementary
#AB74DF #DEDF74 #74DF76
monochromatic
#6E29B0 #8D42D4 #AB74DF #C9A6EA #E7D7F6

Accessibility & contrast

On white

3.34
#AB74DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#AB74DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74DF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74DF#FFFFFF#000000##000000
##AB74DF1.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#578BE3
Deuteranopia (green-blind)
#668DDC
Tritanopia (blue-blind)
#A3869F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab74df;
/* rgb */ color: rgb(171, 116, 223);
/* oklch */ color: oklch(65.9% 0.162 306.2);
Tailwind
colors: {
  custom: {
    50: '#c69de9',
    500: '#ab74df',
    950: '#000000',
  },
}
SCSS
$custom: #ab74df;
$custom-light: #c69de9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74df",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 270.841,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65939,
    "c": 0.16165,
    "h": 306.2
  },
  "luminance": 0.26476
}

Semantic roles & 50–950 ramp

primary
#AB74DF
secondary
#D7E9C6
accent
#CA1B70
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB74DF

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

Preview Lab → · Contrast checker → · Palette generator →

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