#AB78CD#AB78CD

#AB78CD is a light, vivid violet. Relative luminance 0.265; OKLCH L 65.7% C 0.133 H 310.8°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AB78CD
RGBrgb(171, 120, 205)
HSLhsl(276, 46%, 64%)
HSVhsv(276, 41%, 80%)
CMYKcmyk(16.6%, 41.5%, 0%, 19.6%)
CIE-LABlab(58.51, 35.61, -36.45)
CIE-LCHlch(58.51, 50.96, 314.33°)
OKLaboklab(65.67% 0.0871 -0.101)
OKLCHoklch(65.67% 0.133 310.8)
XYZxyz(34.5285, 26.4992, 61.0417)
Luminance0.2650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB78CD #9ACD78
analogous
#8078CD #AB78CD #CD78C4
triadic
#AB78CD #CDAB78 #78CDAB
tetradic
#AB78CD #CD8078 #9ACD78 #78C4CD
square
#AB78CD #CD8078 #9ACD78 #78C4CD
split-complementary
#AB78CD #C4CD78 #78CD80
monochromatic
#6F3794 #8F4BBC #AB78CD #C7A5DE #E3D1EE

Accessibility & contrast

On white

3.33
#AB78CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#AB78CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB78CD
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB78CD#FFFFFF#000000##000000
##AB78CD1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#678AD0
Deuteranopia (green-blind)
#738ECB
Tritanopia (blue-blind)
#A78599
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ab78cd;
/* rgb */ color: rgb(171, 120, 205);
/* oklch */ color: oklch(65.7% 0.133 310.8);
Tailwind
colors: {
  custom: {
    50: '#c5a0dc',
    500: '#ab78cd',
    950: '#000000',
  },
}
SCSS
$custom: #ab78cd;
$custom-light: #c5a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab78cd",
  "rgb": {
    "r": 171,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 276,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65673,
    "c": 0.13338,
    "h": 310.8
  },
  "luminance": 0.26499
}

Semantic roles & 50–950 ramp

primary
#AB78CD
secondary
#CDDFC1
accent
#B92C65
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #AB78CD

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

Preview Lab → · Contrast checker → · Palette generator →

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