#AB7CF9#AB7CF9

#AB7CF9 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.7% C 0.181 H 298.9°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#AB7CF9
RGBrgb(171, 124, 249)
HSLhsl(263, 91%, 73%)
HSVhsv(263, 50%, 98%)
CMYKcmyk(31.3%, 50.2%, 0%, 2.4%)
CIE-LABlab(61.58, 43.70, -56.15)
CIE-LCHlch(61.58, 71.15, 307.89°)
OKLaboklab(68.68% 0.0875 -0.1583)
OKLCHoklch(68.68% 0.181 298.9)
XYZxyz(41.0970, 29.9124, 93.2127)
Luminance0.2991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7CF9 #CAF97C
analogous
#7C8BF9 #AB7CF9 #E97CF9
triadic
#AB7CF9 #F9AB7C #7CF9AB
tetradic
#AB7CF9 #F97C8B #CAF97C #7CF9E9
square
#AB7CF9 #F97C8B #CAF97C #7CF9E9
split-complementary
#AB7CF9 #F9E97C #8BF97C
monochromatic
#610BF0 #8541F6 #AB7CF9 #D1B7FC #ECE2FE

Accessibility & contrast

On white

3.01
#AB7CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#AB7CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7CF9
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7CF9#FFFFFF#000000##000000
##AB7CF91.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5095FD
Deuteranopia (green-blind)
#5C94F6
Tritanopia (blue-blind)
#9B94AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ab7cf9;
/* rgb */ color: rgb(171, 124, 249);
/* oklch */ color: oklch(68.7% 0.181 298.9);
Tailwind
colors: {
  custom: {
    50: '#c7a3fc',
    500: '#ab7cf9',
    950: '#000000',
  },
}
SCSS
$custom: #ab7cf9;
$custom-light: #c7a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7cf9",
  "rgb": {
    "r": 171,
    "g": 124,
    "b": 249
  },
  "hsl": {
    "h": 262.56,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68682,
    "c": 0.18087,
    "h": 298.9
  },
  "luminance": 0.29913
}

Semantic roles & 50–950 ramp

primary
#AB7CF9
secondary
#EAF6D5
accent
#E6008F
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB7CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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