#AB7ECF#AB7ECF

#AB7ECF is a light, vivid violet. Relative luminance 0.281; OKLCH L 66.8% C 0.126 H 308.9°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#AB7ECF
RGBrgb(171, 126, 207)
HSLhsl(273, 46%, 65%)
HSVhsv(273, 39%, 81%)
CMYKcmyk(17.4%, 39.1%, 0%, 18.8%)
CIE-LABlab(59.97, 32.70, -35.30)
CIE-LCHlch(59.97, 48.12, 312.81°)
OKLaboklab(66.8% 0.0788 -0.0977)
OKLCHoklch(66.8% 0.126 308.9)
XYZxyz(35.5158, 28.0850, 62.5694)
Luminance0.2808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7ECF #A2CF7E
analogous
#827ECF #AB7ECF #CF7ECB
triadic
#AB7ECF #CFAB7E #7ECFAB
tetradic
#AB7ECF #CF827E #A2CF7E #7ECBCF
square
#AB7ECF #CF827E #A2CF7E #7ECBCF
split-complementary
#AB7ECF #CBCF7E #7ECF82
monochromatic
#6F3999 #8E51BE #AB7ECF #C8ABE0 #E5D7F0

Accessibility & contrast

On white

3.17
#AB7ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#AB7ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7ECF
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7ECF#FFFFFF#000000##000000
##AB7ECF1.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8FD2
Deuteranopia (green-blind)
#7891CD
Tritanopia (blue-blind)
#A68A9D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab7ecf;
/* rgb */ color: rgb(171, 126, 207);
/* oklch */ color: oklch(66.8% 0.126 308.9);
Tailwind
colors: {
  custom: {
    50: '#c5a4de',
    500: '#ab7ecf',
    950: '#000000',
  },
}
SCSS
$custom: #ab7ecf;
$custom-light: #c5a4de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7ecf",
  "rgb": {
    "r": 171,
    "g": 126,
    "b": 207
  },
  "hsl": {
    "h": 273.333,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66801,
    "c": 0.12555,
    "h": 308.9
  },
  "luminance": 0.28085
}

Semantic roles & 50–950 ramp

primary
#AB7ECF
secondary
#D3E2C7
accent
#B92D6B
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #AB7ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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