#AB74FB#AB74FB

#AB74FB is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.5% C 0.195 H 300.0°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AB74FB
RGBrgb(171, 116, 251)
HSLhsl(264, 94%, 72%)
HSVhsv(264, 54%, 98%)
CMYKcmyk(31.9%, 53.8%, 0%, 1.6%)
CIE-LABlab(59.99, 48.54, -59.78)
CIE-LCHlch(59.99, 77.01, 309.07°)
OKLaboklab(67.54% 0.0976 -0.169)
OKLCHoklch(67.54% 0.195 300)
XYZxyz(40.4484, 28.1135, 94.5435)
Luminance0.2811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74FB #C4FB74
analogous
#7481FB #AB74FB #EE74FB
triadic
#AB74FB #FBAB74 #74FBAB
tetradic
#AB74FB #FB7481 #C4FB74 #74FBEE
square
#AB74FB #FB7481 #C4FB74 #74FBEE
split-complementary
#AB74FB #FBEE74 #81FB74
monochromatic
#6507EE #8739F9 #AB74FB #CFAFFD #EDE1FE

Accessibility & contrast

On white

3.17
#AB74FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#AB74FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74FB
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74FB#FFFFFF#000000##000000
##AB74FB1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E90FF
Deuteranopia (green-blind)
#5090F8
Tritanopia (blue-blind)
#9A8FAD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab74fb;
/* rgb */ color: rgb(171, 116, 251);
/* oklch */ color: oklch(67.5% 0.195 300.0);
Tailwind
colors: {
  custom: {
    50: '#c89efd',
    500: '#ab74fb',
    950: '#000000',
  },
}
SCSS
$custom: #ab74fb;
$custom-light: #c89efd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74fb",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 264.444,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67542,
    "c": 0.19513,
    "h": 300
  },
  "luminance": 0.28114
}

Semantic roles & 50–950 ramp

primary
#AB74FB
secondary
#E9F6D4
accent
#E60088
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AB74FB

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

Preview Lab → · Contrast checker → · Palette generator →

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