#A78BCB#A78BCB

#A78BCB is a light, moderate violet. Relative luminance 0.310; OKLCH L 68.6% C 0.097 H 304.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#A78BCB
RGBrgb(167, 139, 203)
HSLhsl(266, 38%, 67%)
HSVhsv(266, 32%, 80%)
CMYKcmyk(17.7%, 31.5%, 0%, 20.4%)
CIE-LABlab(62.50, 23.22, -29.14)
CIE-LCHlch(62.50, 37.26, 308.54°)
OKLaboklab(68.58% 0.0542 -0.0803)
OKLCHoklch(68.58% 0.097 304)
XYZxyz(35.9463, 30.9926, 60.5768)
Luminance0.3099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78BCB #AFCB8B
analogous
#8B8FCB #A78BCB #C78BCB
triadic
#A78BCB #CBA78B #8BCBA7
tetradic
#A78BCB #CB8B8F #AFCB8B #8BCBC7
square
#A78BCB #CB8B8F #AFCB8B #8BCBC7
split-complementary
#A78BCB #CBC78B #8FCB8B
monochromatic
#694498 #8761B8 #A78BCB #C7B5DE #E7E0F1

Accessibility & contrast

On white

2.92
#A78BCB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#A78BCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78BCB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78BCB#FFFFFF#000000##000000
##A78BCB1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E96CE
Deuteranopia (green-blind)
#8397C9
Tritanopia (blue-blind)
#A194A2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a78bcb;
/* rgb */ color: rgb(167, 139, 203);
/* oklch */ color: oklch(68.6% 0.097 304.0);
Tailwind
colors: {
  custom: {
    50: '#c2addb',
    500: '#a78bcb',
    950: '#000000',
  },
}
SCSS
$custom: #a78bcb;
$custom-light: #c2addb;
$custom-dark: #000000;
JSON
{
  "hex": "#a78bcb",
  "rgb": {
    "r": 167,
    "g": 139,
    "b": 203
  },
  "hsl": {
    "h": 266.25,
    "s": 38.095,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68584,
    "c": 0.09682,
    "h": 304
  },
  "luminance": 0.30993
}

Semantic roles & 50–950 ramp

primary
#A78BCB
secondary
#DAE3CF
accent
#B1347B
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A78BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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