#AB66CB#AB66CB

#AB66CB is a light, vivid purple. Relative luminance 0.225; OKLCH L 62.7% C 0.161 H 314.1°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AB66CB
RGBrgb(171, 102, 203)
HSLhsl(281, 49%, 60%)
HSVhsv(281, 50%, 80%)
CMYKcmyk(15.8%, 49.8%, 0%, 20.4%)
CIE-LABlab(54.53, 45.01, -41.57)
CIE-LCHlch(54.53, 61.27, 317.28°)
OKLaboklab(62.67% 0.1123 -0.1157)
OKLCHoklch(62.67% 0.161 314.1)
XYZxyz(32.3237, 22.4733, 59.1234)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB66CB #86CB66
analogous
#7966CB #AB66CB #CB66B9
triadic
#AB66CB #CBAB66 #66CBAB
tetradic
#AB66CB #CB7966 #86CB66 #66B9CB
square
#AB66CB #CB7966 #86CB66 #66B9CB
split-complementary
#AB66CB #B9CB66 #66CB79
monochromatic
#6C2E88 #903EB6 #AB66CB #C494DB #DDC1EA

Accessibility & contrast

On white

3.82
#AB66CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#AB66CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB66CB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB66CB#FFFFFF#000000##000000
##AB66CB1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#507ECE
Deuteranopia (green-blind)
#6484C8
Tritanopia (blue-blind)
#A9768F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab66cb;
/* rgb */ color: rgb(171, 102, 203);
/* oklch */ color: oklch(62.7% 0.161 314.1);
Tailwind
colors: {
  custom: {
    50: '#c694db',
    500: '#ab66cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab66cb;
$custom-light: #c694db;
$custom-dark: #000000;
JSON
{
  "hex": "#ab66cb",
  "rgb": {
    "r": 171,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 280.99,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62667,
    "c": 0.16129,
    "h": 314.1
  },
  "luminance": 0.22472
}

Semantic roles & 50–950 ramp

primary
#AB66CB
secondary
#BFDAB3
accent
#D94F7B
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #AB66CB

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

Preview Lab → · Contrast checker → · Palette generator →

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