#AB7CED#AB7CED

#AB7CED is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.0% C 0.166 H 301.3°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#AB7CED
RGBrgb(171, 124, 237)
HSLhsl(265, 76%, 71%)
HSVhsv(265, 48%, 93%)
CMYKcmyk(27.8%, 47.7%, 0%, 7.1%)
CIE-LABlab(60.95, 40.78, -50.52)
CIE-LCHlch(60.95, 64.93, 308.91°)
OKLaboklab(68.01% 0.0863 -0.1419)
OKLCHoklch(68.01% 0.166 301.3)
XYZxyz(39.2848, 29.1875, 83.6685)
Luminance0.2919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB7CED #BEED7C
analogous
#7C85ED #AB7CED #E47CED
triadic
#AB7CED #EDAB7C #7CEDAB
tetradic
#AB7CED #ED7C85 #BEED7C #7CEDE4
square
#AB7CED #ED7C85 #BEED7C #7CEDE4
split-complementary
#AB7CED #EDE47C #85ED7C
monochromatic
#681DD2 #8846E6 #AB7CED #CEB2F4 #EEE4FB

Accessibility & contrast

On white

3.07
#AB7CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#AB7CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB7CED
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB7CED#FFFFFF#000000##000000
##AB7CED1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F1
Deuteranopia (green-blind)
#6593EA
Tritanopia (blue-blind)
#9F90A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ab7ced;
/* rgb */ color: rgb(171, 124, 237);
/* oklch */ color: oklch(68.0% 0.166 301.3);
Tailwind
colors: {
  custom: {
    50: '#c7a3f3',
    500: '#ab7ced',
    950: '#000000',
  },
}
SCSS
$custom: #ab7ced;
$custom-light: #c7a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab7ced",
  "rgb": {
    "r": 171,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 264.956,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68006,
    "c": 0.16607,
    "h": 301.3
  },
  "luminance": 0.29188
}

Semantic roles & 50–950 ramp

primary
#AB7CED
secondary
#E5F2D3
accent
#D80D84
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB7CED

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

Preview Lab → · Contrast checker → · Palette generator →

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