#AB6BDC#AB6BDC

#AB6BDC is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.4% C 0.172 H 308.5°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AB6BDC
RGBrgb(171, 107, 220)
HSLhsl(274, 62%, 64%)
HSVhsv(274, 51%, 86%)
CMYKcmyk(22.3%, 51.4%, 0%, 13.7%)
CIE-LABlab(56.43, 46.08, -48.19)
CIE-LCHlch(56.43, 66.68, 313.72°)
OKLaboklab(64.36% 0.1073 -0.135)
OKLCHoklch(64.36% 0.172 308.5)
XYZxyz(34.9680, 24.3411, 70.5524)
Luminance0.2434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6BDC #9CDC6B
analogous
#736BDC #AB6BDC #DC6BD5
triadic
#AB6BDC #DCAB6B #6BDCAB
tetradic
#AB6BDC #DC736B #9CDC6B #6BD5DC
square
#AB6BDC #DC736B #9CDC6B #6BD5DC
split-complementary
#AB6BDC #D5DC6B #6BDC73
monochromatic
#6F27A5 #8F3AD0 #AB6BDC #C79CE8 #E3CEF3

Accessibility & contrast

On white

3.58
#AB6BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#AB6BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6BDC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6BDC#FFFFFF#000000##000000
##AB6BDC1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B85E0
Deuteranopia (green-blind)
#5E88D9
Tritanopia (blue-blind)
#A47F9A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ab6bdc;
/* rgb */ color: rgb(171, 107, 220);
/* oklch */ color: oklch(64.4% 0.172 308.5);
Tailwind
colors: {
  custom: {
    50: '#c697e7',
    500: '#ab6bdc',
    950: '#000000',
  },
}
SCSS
$custom: #ab6bdc;
$custom-light: #c697e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6bdc",
  "rgb": {
    "r": 171,
    "g": 107,
    "b": 220
  },
  "hsl": {
    "h": 273.982,
    "s": 61.749,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64359,
    "c": 0.17245,
    "h": 308.5
  },
  "luminance": 0.24341
}

Semantic roles & 50–950 ramp

primary
#AB6BDC
secondary
#CFE5BE
accent
#C91C67
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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