#AB74FA#AB74FA

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

Color values

HEX#AB74FA
RGBrgb(171, 116, 250)
HSLhsl(265, 93%, 72%)
HSVhsv(265, 54%, 98%)
CMYKcmyk(31.6%, 53.6%, 0%, 2%)
CIE-LABlab(59.93, 48.30, -59.32)
CIE-LCHlch(59.93, 76.50, 309.15°)
OKLaboklab(67.48% 0.0976 -0.1676)
OKLCHoklch(67.48% 0.194 300.2)
XYZxyz(40.2912, 28.0506, 93.7156)
Luminance0.2805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74FA #C3FA74
analogous
#7480FA #AB74FA #EE74FA
triadic
#AB74FA #FAAB74 #74FAAB
tetradic
#AB74FA #FA7480 #C3FA74 #74FAEE
square
#AB74FA #FA7480 #C3FA74 #74FAEE
split-complementary
#AB74FA #FAEE74 #80FA74
monochromatic
#6608EB #8739F8 #AB74FA #CFAFFC #EDE1FE

Accessibility & contrast

On white

3.18
#AB74FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#AB74FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74FA
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74FA#FFFFFF#000000##000000
##AB74FA1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F90FF
Deuteranopia (green-blind)
#5190F7
Tritanopia (blue-blind)
#9B8EAC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab74fa;
/* rgb */ color: rgb(171, 116, 250);
/* oklch */ color: oklch(67.5% 0.194 300.2);
Tailwind
colors: {
  custom: {
    50: '#c89efd',
    500: '#ab74fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab74fa;
$custom-light: #c89efd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74fa",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 264.627,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67482,
    "c": 0.19394,
    "h": 300.2
  },
  "luminance": 0.28051
}

Semantic roles & 50–950 ramp

primary
#AB74FA
secondary
#E8F6D4
accent
#E60087
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AB74FA

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

Preview Lab → · Contrast checker → · Palette generator →

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