#AB74FF#AB74FF

#AB74FF is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.8% C 0.200 H 299.3°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#AB74FF
RGBrgb(171, 116, 255)
HSLhsl(264, 100%, 73%)
HSVhsv(264, 55%, 100%)
CMYKcmyk(32.9%, 54.5%, 0%, 0%)
CIE-LABlab(60.22, 49.52, -61.62)
CIE-LCHlch(60.22, 79.05, 308.79°)
OKLaboklab(67.78% 0.0977 -0.1743)
OKLCHoklch(67.78% 0.2 299.3)
XYZxyz(41.0856, 28.3683, 97.8994)
Luminance0.2837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74FF #C8FF74
analogous
#7482FF #AB74FF #F074FF
triadic
#AB74FF #FFAB74 #74FFAB
tetradic
#AB74FF #FF7482 #C8FF74 #74FFF0
square
#AB74FF #FF7482 #C8FF74 #74FFF0
split-complementary
#AB74FF #FFF074 #82FF74
monochromatic
#6200F9 #8637FF #AB74FF #D0B1FF #EDE0FF

Accessibility & contrast

On white

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

On black

6.67
#AB74FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74FF
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74FF#FFFFFF#000000##000000
##AB74FF1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3991FF
Deuteranopia (green-blind)
#4C90FC
Tritanopia (blue-blind)
#9990AF
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab74ff;
/* rgb */ color: rgb(171, 116, 255);
/* oklch */ color: oklch(67.8% 0.200 299.3);
Tailwind
colors: {
  custom: {
    50: '#c89eff',
    500: '#ab74ff',
    950: '#000000',
  },
}
SCSS
$custom: #ab74ff;
$custom-light: #c89eff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74ff",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 255
  },
  "hsl": {
    "h": 263.741,
    "s": 100,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67784,
    "c": 0.19987,
    "h": 299.3
  },
  "luminance": 0.28369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB74FF

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

Preview Lab → · Contrast checker → · Palette generator →

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