#AB74FC#AB74FC

#AB74FC is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.6% C 0.196 H 299.8°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AB74FC
RGBrgb(171, 116, 252)
HSLhsl(264, 96%, 72%)
HSVhsv(264, 54%, 99%)
CMYKcmyk(32.1%, 54%, 0%, 1.2%)
CIE-LABlab(60.05, 48.79, -60.24)
CIE-LCHlch(60.05, 77.52, 309.00°)
OKLaboklab(67.6% 0.0976 -0.1703)
OKLCHoklch(67.6% 0.196 299.8)
XYZxyz(40.6065, 28.1767, 95.3759)
Luminance0.2818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74FC #C5FC74
analogous
#7481FC #AB74FC #EF74FC
triadic
#AB74FC #FCAB74 #74FCAB
tetradic
#AB74FC #FC7481 #C5FC74 #74FCEF
square
#AB74FC #FC7481 #C5FC74 #74FCEF
split-complementary
#AB74FC #FCEF74 #81FC74
monochromatic
#6405F0 #8738FB #AB74FC #CFB0FD #EDE1FE

Accessibility & contrast

On white

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

On black

6.64
#AB74FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74FC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74FC#FFFFFF#000000##000000
##AB74FC1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D90FF
Deuteranopia (green-blind)
#4F90F9
Tritanopia (blue-blind)
#9A8FAD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab74fc;
/* rgb */ color: rgb(171, 116, 252);
/* oklch */ color: oklch(67.6% 0.196 299.8);
Tailwind
colors: {
  custom: {
    50: '#c89efe',
    500: '#ab74fc',
    950: '#000000',
  },
}
SCSS
$custom: #ab74fc;
$custom-light: #c89efe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74fc",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 264.265,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67602,
    "c": 0.19631,
    "h": 299.8
  },
  "luminance": 0.28177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB74FC

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

Preview Lab → · Contrast checker → · Palette generator →

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