#AB8FCD#AB8FCD

#AB8FCD is a light, moderate violet. Relative luminance 0.327; OKLCH L 69.8% C 0.094 H 304.8°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#AB8FCD
RGBrgb(171, 143, 205)
HSLhsl(267, 38%, 68%)
HSVhsv(267, 30%, 80%)
CMYKcmyk(16.6%, 30.2%, 0%, 19.6%)
CIE-LABlab(63.93, 22.65, -28.04)
CIE-LCHlch(63.93, 36.04, 308.93°)
OKLaboklab(69.79% 0.0535 -0.0771)
OKLCHoklch(69.79% 0.094 304.8)
XYZxyz(37.6343, 32.7108, 62.0769)
Luminance0.3271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8FCD #B1CD8F
analogous
#8F92CD #AB8FCD #CA8FCD
triadic
#AB8FCD #CDAB8F #8FCDAB
tetradic
#AB8FCD #CD8F92 #B1CD8F #8FCDCA
square
#AB8FCD #CD8F92 #B1CD8F #8FCDCA
split-complementary
#AB8FCD #CDCA8F #92CD8F
monochromatic
#6D469C #8B65BA #AB8FCD #CBB9E0 #EAE4F3

Accessibility & contrast

On white

2.78
#AB8FCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#AB8FCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8FCD
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8FCD#FFFFFF#000000##000000
##AB8FCD1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#839AD0
Deuteranopia (green-blind)
#889BCB
Tritanopia (blue-blind)
#A698A5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab8fcd;
/* rgb */ color: rgb(171, 143, 205);
/* oklch */ color: oklch(69.8% 0.094 304.8);
Tailwind
colors: {
  custom: {
    50: '#c4b0dc',
    500: '#ab8fcd',
    950: '#000000',
  },
}
SCSS
$custom: #ab8fcd;
$custom-light: #c4b0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8fcd",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 205
  },
  "hsl": {
    "h": 267.097,
    "s": 38.272,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69788,
    "c": 0.09379,
    "h": 304.8
  },
  "luminance": 0.32711
}

Semantic roles & 50–950 ramp

primary
#AB8FCD
secondary
#DDE5D2
accent
#B13479
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #AB8FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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