#AB74F0#AB74F0

#AB74F0 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.9% C 0.182 H 302.2°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AB74F0
RGBrgb(171, 116, 240)
HSLhsl(267, 81%, 70%)
HSVhsv(267, 52%, 94%)
CMYKcmyk(28.8%, 51.7%, 0%, 5.9%)
CIE-LABlab(59.38, 45.89, -54.68)
CIE-LCHlch(59.38, 71.38, 310.00°)
OKLaboklab(66.89% 0.097 -0.154)
OKLCHoklch(66.89% 0.182 302.2)
XYZxyz(38.7646, 27.4399, 85.6754)
Luminance0.2744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74F0 #B9F074
analogous
#747BF0 #AB74F0 #E974F0
triadic
#AB74F0 #F0AB74 #74F0AB
tetradic
#AB74F0 #F0747B #B9F074 #74F0E9
square
#AB74F0 #F0747B #B9F074 #74F0E9
split-complementary
#AB74F0 #F0E974 #7BF074
monochromatic
#6A17D3 #8A3DEA #AB74F0 #CCABF6 #EEE2FC

Accessibility & contrast

On white

3.24
#AB74F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#AB74F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74F0
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74F0#FFFFFF#000000##000000
##AB74F01.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#498EF4
Deuteranopia (green-blind)
#5A8FED
Tritanopia (blue-blind)
#9E8BA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab74f0;
/* rgb */ color: rgb(171, 116, 240);
/* oklch */ color: oklch(66.9% 0.182 302.2);
Tailwind
colors: {
  custom: {
    50: '#c79df5',
    500: '#ab74f0',
    950: '#000000',
  },
}
SCSS
$custom: #ab74f0;
$custom-light: #c79df5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74f0",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 240
  },
  "hsl": {
    "h": 266.613,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66892,
    "c": 0.18201,
    "h": 302.2
  },
  "luminance": 0.2744
}

Semantic roles & 50–950 ramp

primary
#AB74F0
secondary
#E2F1CE
accent
#DD097F
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB74F0

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

Preview Lab → · Contrast checker → · Palette generator →

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