#AB74FE#AB74FE

#AB74FE is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.7% C 0.199 H 299.5°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#AB74FE
RGBrgb(171, 116, 254)
HSLhsl(264, 99%, 73%)
HSVhsv(264, 54%, 100%)
CMYKcmyk(32.7%, 54.3%, 0%, 0.4%)
CIE-LABlab(60.16, 49.27, -61.16)
CIE-LCHlch(60.16, 78.54, 308.86°)
OKLaboklab(67.72% 0.0977 -0.173)
OKLCHoklch(67.72% 0.199 299.5)
XYZxyz(40.9251, 28.3041, 97.0539)
Luminance0.2830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74FE #C7FE74
analogous
#7482FE #AB74FE #F074FE
triadic
#AB74FE #FEAB74 #74FEAB
tetradic
#AB74FE #FE7482 #C7FE74 #74FEF0
square
#AB74FE #FE7482 #C7FE74 #74FEF0
split-complementary
#AB74FE #FEF074 #82FE74
monochromatic
#6302F6 #8637FE #AB74FE #D0B1FE #EDE1FF

Accessibility & contrast

On white

3.15
#AB74FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#AB74FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74FE
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74FE#FFFFFF#000000##000000
##AB74FE1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A91FF
Deuteranopia (green-blind)
#4D90FB
Tritanopia (blue-blind)
#9990AE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab74fe;
/* rgb */ color: rgb(171, 116, 254);
/* oklch */ color: oklch(67.7% 0.199 299.5);
Tailwind
colors: {
  custom: {
    50: '#c89eff',
    500: '#ab74fe',
    950: '#000000',
  },
}
SCSS
$custom: #ab74fe;
$custom-light: #c89eff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74fe",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 263.913,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67723,
    "c": 0.19869,
    "h": 299.5
  },
  "luminance": 0.28304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB74FE

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

Preview Lab → · Contrast checker → · Palette generator →

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