#AB7CF3#AB7CF3

#AB7CF3 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.3% C 0.173 H 300.1°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#AB7CF3
RGBrgb(171, 124, 243)
HSLhsl(264, 83%, 72%)
HSVhsv(264, 49%, 95%)
CMYKcmyk(29.6%, 49%, 0%, 4.7%)
CIE-LABlab(61.26, 42.23, -53.35)
CIE-LCHlch(61.26, 68.04, 308.37°)
OKLaboklab(68.34% 0.087 -0.1501)
OKLCHoklch(68.34% 0.173 300.1)
XYZxyz(40.1761, 29.5441, 88.3626)
Luminance0.2954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7CF3 #C4F37C
analogous
#7C89F3 #AB7CF3 #E67CF3
triadic
#AB7CF3 #F3AB7C #7CF3AB
tetradic
#AB7CF3 #F37C89 #C4F37C #7CF3E6
square
#AB7CF3 #F37C89 #C4F37C #7CF3E6
split-complementary
#AB7CF3 #F3E67C #89F37C
monochromatic
#6515E0 #8744EE #AB7CF3 #CFB4F8 #EDE3FC

Accessibility & contrast

On white

3.04
#AB7CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#AB7CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7CF3
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7CF3#FFFFFF#000000##000000
##AB7CF31.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5594F7
Deuteranopia (green-blind)
#6193F0
Tritanopia (blue-blind)
#9D92AC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ab7cf3;
/* rgb */ color: rgb(171, 124, 243);
/* oklch */ color: oklch(68.3% 0.173 300.1);
Tailwind
colors: {
  custom: {
    50: '#c7a3f7',
    500: '#ab7cf3',
    950: '#000000',
  },
}
SCSS
$custom: #ab7cf3;
$custom-light: #c7a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7cf3",
  "rgb": {
    "r": 171,
    "g": 124,
    "b": 243
  },
  "hsl": {
    "h": 263.697,
    "s": 83.217,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68341,
    "c": 0.17348,
    "h": 300.1
  },
  "luminance": 0.29544
}

Semantic roles & 50–950 ramp

primary
#AB7CF3
secondary
#E9F4D6
accent
#E0068A
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB7CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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