#AB74FD#AB74FD

#AB74FD is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.7% C 0.198 H 299.6°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AB74FD
RGBrgb(171, 116, 253)
HSLhsl(264, 97%, 72%)
HSVhsv(264, 54%, 99%)
CMYKcmyk(32.4%, 54.2%, 0%, 0.8%)
CIE-LABlab(60.11, 49.03, -60.70)
CIE-LCHlch(60.11, 78.03, 308.93°)
OKLaboklab(67.66% 0.0977 -0.1716)
OKLCHoklch(67.66% 0.198 299.6)
XYZxyz(40.7653, 28.2402, 96.2127)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74FD #C6FD74
analogous
#7481FD #AB74FD #F074FD
triadic
#AB74FD #FDAB74 #74FDAB
tetradic
#AB74FD #FD7481 #C6FD74 #74FDF0
square
#AB74FD #FD7481 #C6FD74 #74FDF0
split-complementary
#AB74FD #FDF074 #81FD74
monochromatic
#6403F3 #8738FC #AB74FD #CFB0FE #EDE1FF

Accessibility & contrast

On white

3.16
#AB74FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#AB74FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74FD
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74FD#FFFFFF#000000##000000
##AB74FD1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C91FF
Deuteranopia (green-blind)
#4E90FA
Tritanopia (blue-blind)
#9A8FAE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab74fd;
/* rgb */ color: rgb(171, 116, 253);
/* oklch */ color: oklch(67.7% 0.198 299.6);
Tailwind
colors: {
  custom: {
    50: '#c89eff',
    500: '#ab74fd',
    950: '#000000',
  },
}
SCSS
$custom: #ab74fd;
$custom-light: #c89eff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74fd",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 253
  },
  "hsl": {
    "h": 264.088,
    "s": 97.163,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67663,
    "c": 0.1975,
    "h": 299.6
  },
  "luminance": 0.28241
}

Semantic roles & 50–950 ramp

primary
#AB74FD
secondary
#E9F7D4
accent
#E60089
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AB74FD

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

Preview Lab → · Contrast checker → · Palette generator →

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