#AB74F9#AB74F9

#AB74F9 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.4% C 0.193 H 300.4°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#AB74F9
RGBrgb(171, 116, 249)
HSLhsl(265, 92%, 72%)
HSVhsv(265, 53%, 98%)
CMYKcmyk(31.3%, 53.4%, 0%, 2.4%)
CIE-LABlab(59.88, 48.05, -58.86)
CIE-LCHlch(59.88, 75.99, 309.23°)
OKLaboklab(67.42% 0.0975 -0.1662)
OKLCHoklch(67.42% 0.193 300.4)
XYZxyz(40.1348, 27.9880, 92.8919)
Luminance0.2799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74F9 #C2F974
analogous
#7480F9 #AB74F9 #EE74F9
triadic
#AB74F9 #F9AB74 #74F9AB
tetradic
#AB74F9 #F97480 #C2F974 #74F9EE
square
#AB74F9 #F97480 #C2F974 #74F9EE
split-complementary
#AB74F9 #F9EE74 #80F974
monochromatic
#660AE9 #8839F6 #AB74F9 #CEAFFC #EDE2FE

Accessibility & contrast

On white

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

On black

6.60
#AB74F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74F9
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74F9#FFFFFF#000000##000000
##AB74F91.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4090FD
Deuteranopia (green-blind)
#528FF6
Tritanopia (blue-blind)
#9B8EAC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab74f9;
/* rgb */ color: rgb(171, 116, 249);
/* oklch */ color: oklch(67.4% 0.193 300.4);
Tailwind
colors: {
  custom: {
    50: '#c89efc',
    500: '#ab74f9',
    950: '#000000',
  },
}
SCSS
$custom: #ab74f9;
$custom-light: #c89efc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74f9",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 249
  },
  "hsl": {
    "h": 264.812,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67422,
    "c": 0.19274,
    "h": 300.4
  },
  "luminance": 0.27988
}

Semantic roles & 50–950 ramp

primary
#AB74F9
secondary
#E7F5D3
accent
#E60087
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB74F9

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

Preview Lab → · Contrast checker → · Palette generator →

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