#AB98CD#AB98CD

#AB98CD is a light, moderate violet. Relative luminance 0.355; OKLCH L 71.5% C 0.079 H 300.9°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#AB98CD
RGBrgb(171, 152, 205)
HSLhsl(262, 35%, 70%)
HSVhsv(262, 26%, 80%)
CMYKcmyk(16.6%, 25.9%, 0%, 19.6%)
CIE-LABlab(66.15, 17.56, -24.61)
CIE-LCHlch(66.15, 30.24, 305.51°)
OKLaboklab(71.5% 0.0403 -0.0674)
OKLCHoklch(71.5% 0.079 300.9)
XYZxyz(39.0400, 35.5221, 62.5455)
Luminance0.3552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB98CD #BACD98
analogous
#98A0CD #AB98CD #C598CD
triadic
#AB98CD #CDAB98 #98CDAB
tetradic
#AB98CD #CD98A0 #BACD98 #98CDC5
square
#AB98CD #CD98A0 #BACD98 #98CDC5
split-complementary
#AB98CD #CDC598 #A0CD98
monochromatic
#6A4D9E #896FB9 #AB98CD #CDC1E1 #EEEAF5

Accessibility & contrast

On white

2.59
#AB98CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#AB98CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB98CD
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB98CD#FFFFFF#000000##000000
##AB98CD1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA1CF
Deuteranopia (green-blind)
#90A1CB
Tritanopia (blue-blind)
#A5A0AA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ab98cd;
/* rgb */ color: rgb(171, 152, 205);
/* oklch */ color: oklch(71.5% 0.079 300.9);
Tailwind
colors: {
  custom: {
    50: '#c4b6dc',
    500: '#ab98cd',
    950: '#000000',
  },
}
SCSS
$custom: #ab98cd;
$custom-light: #c4b6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab98cd",
  "rgb": {
    "r": 171,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 261.509,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.71499,
    "c": 0.07852,
    "h": 300.9
  },
  "luminance": 0.35522
}

Semantic roles & 50–950 ramp

primary
#AB98CD
secondary
#E3E8D9
accent
#AD3883
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #AB98CD

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

Preview Lab → · Contrast checker → · Palette generator →

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