#AB8FCA#AB8FCA

#AB8FCA is a light, moderate violet. Relative luminance 0.326; OKLCH L 69.7% C 0.090 H 305.9°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#AB8FCA
RGBrgb(171, 143, 202)
HSLhsl(268, 36%, 68%)
HSVhsv(268, 29%, 79%)
CMYKcmyk(15.3%, 29.2%, 0%, 20.8%)
CIE-LABlab(63.81, 21.98, -26.54)
CIE-LCHlch(63.81, 34.46, 309.64°)
OKLaboklab(69.66% 0.0526 -0.0728)
OKLCHoklch(69.66% 0.09 305.9)
XYZxyz(37.2757, 32.5673, 60.1880)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB8FCA #AECA8F
analogous
#8F90CA #AB8FCA #C98FCA
triadic
#AB8FCA #CAAB8F #8FCAAB
tetradic
#AB8FCA #CA8F90 #AECA8F #8FCAC9
square
#AB8FCA #CA8F90 #AECA8F #8FCAC9
split-complementary
#AB8FCA #CAC98F #90CA8F
monochromatic
#6D4897 #8C65B6 #AB8FCA #CAB9DE #E9E2F1

Accessibility & contrast

On white

2.80
#AB8FCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#AB8FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB8FCA
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB8FCA#FFFFFF#000000##000000
##AB8FCA1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#849ACC
Deuteranopia (green-blind)
#899BC8
Tritanopia (blue-blind)
#A797A4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ab8fca;
/* rgb */ color: rgb(171, 143, 202);
/* oklch */ color: oklch(69.7% 0.090 305.9);
Tailwind
colors: {
  custom: {
    50: '#c4b0da',
    500: '#ab8fca',
    950: '#000000',
  },
}
SCSS
$custom: #ab8fca;
$custom-light: #c4b0da;
$custom-dark: #000000;
JSON
{
  "hex": "#ab8fca",
  "rgb": {
    "r": 171,
    "g": 143,
    "b": 202
  },
  "hsl": {
    "h": 268.475,
    "s": 35.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6966,
    "c": 0.08984,
    "h": 305.9
  },
  "luminance": 0.32567
}

Semantic roles & 50–950 ramp

primary
#AB8FCA
secondary
#DBE4D1
accent
#AF3776
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #AB8FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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