#AB6DDB#AB6DDB

#AB6DDB is a light, vivid violet. Relative luminance 0.247; OKLCH L 64.6% C 0.168 H 308.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AB6DDB
RGBrgb(171, 109, 219)
HSLhsl(274, 60%, 64%)
HSVhsv(274, 50%, 86%)
CMYKcmyk(21.9%, 50.2%, 0%, 14.1%)
CIE-LABlab(56.79, 44.78, -47.05)
CIE-LCHlch(56.79, 64.96, 313.59°)
OKLaboklab(64.61% 0.1045 -0.1317)
OKLCHoklch(64.61% 0.168 308.4)
XYZxyz(35.0469, 24.7101, 69.9274)
Luminance0.2471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6DDB #9DDB6D
analogous
#746DDB #AB6DDB #DB6DD4
triadic
#AB6DDB #DBAB6D #6DDBAB
tetradic
#AB6DDB #DB746D #9DDB6D #6DD4DB
square
#AB6DDB #DB746D #9DDB6D #6DD4DB
split-complementary
#AB6DDB #D4DB6D #6DDB74
monochromatic
#6F29A5 #8F3CCF #AB6DDB #C79EE7 #E3CFF3

Accessibility & contrast

On white

3.53
#AB6DDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#AB6DDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6DDB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6DDB#FFFFFF#000000##000000
##AB6DDB1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86DF
Deuteranopia (green-blind)
#6189D8
Tritanopia (blue-blind)
#A4809A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ab6ddb;
/* rgb */ color: rgb(171, 109, 219);
/* oklch */ color: oklch(64.6% 0.168 308.4);
Tailwind
colors: {
  custom: {
    50: '#c698e6',
    500: '#ab6ddb',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ddb;
$custom-light: #c698e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ddb",
  "rgb": {
    "r": 171,
    "g": 109,
    "b": 219
  },
  "hsl": {
    "h": 273.818,
    "s": 60.44,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64612,
    "c": 0.16812,
    "h": 308.4
  },
  "luminance": 0.2471
}

Semantic roles & 50–950 ramp

primary
#AB6DDB
secondary
#CFE5BF
accent
#C81D68
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB6DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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