#AB74EF#AB74EF

#AB74EF is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.8% C 0.181 H 302.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AB74EF
RGBrgb(171, 116, 239)
HSLhsl(267, 79%, 70%)
HSVhsv(267, 51%, 94%)
CMYKcmyk(28.5%, 51.5%, 0%, 6.3%)
CIE-LABlab(59.33, 45.65, -54.21)
CIE-LCHlch(59.33, 70.87, 310.10°)
OKLaboklab(66.83% 0.097 -0.1526)
OKLCHoklch(66.83% 0.181 302.4)
XYZxyz(38.6164, 27.3807, 84.8952)
Luminance0.2738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB74EF #B8EF74
analogous
#747BEF #AB74EF #E874EF
triadic
#AB74EF #EFAB74 #74EFAB
tetradic
#AB74EF #EF747B #B8EF74 #74EFE8
square
#AB74EF #EF747B #B8EF74 #74EFE8
split-complementary
#AB74EF #EFE874 #7BEF74
monochromatic
#6B18D1 #8A3DE9 #AB74EF #CCABF5 #EDE2FC

Accessibility & contrast

On white

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

On black

6.48
#AB74EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB74EF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB74EF#FFFFFF#000000##000000
##AB74EF1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8EF3
Deuteranopia (green-blind)
#5A8EEC
Tritanopia (blue-blind)
#9E8BA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab74ef;
/* rgb */ color: rgb(171, 116, 239);
/* oklch */ color: oklch(66.8% 0.181 302.4);
Tailwind
colors: {
  custom: {
    50: '#c79df5',
    500: '#ab74ef',
    950: '#000000',
  },
}
SCSS
$custom: #ab74ef;
$custom-light: #c79df5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab74ef",
  "rgb": {
    "r": 171,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 266.829,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66834,
    "c": 0.18082,
    "h": 302.4
  },
  "luminance": 0.27381
}

Semantic roles & 50–950 ramp

primary
#AB74EF
secondary
#E1F1CE
accent
#DC0A7E
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB74EF

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

Preview Lab → · Contrast checker → · Palette generator →

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