#A78ECB#A78ECB

#A78ECB is a light, moderate violet. Relative luminance 0.319; OKLCH L 69.1% C 0.092 H 302.9°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#A78ECB
RGBrgb(167, 142, 203)
HSLhsl(265, 37%, 68%)
HSVhsv(265, 30%, 80%)
CMYKcmyk(17.7%, 30%, 0%, 20.4%)
CIE-LABlab(63.24, 21.51, -28.01)
CIE-LCHlch(63.24, 35.31, 307.53°)
OKLaboklab(69.15% 0.0498 -0.077)
OKLCHoklch(69.15% 0.092 302.9)
XYZxyz(36.3866, 31.8733, 60.7236)
Luminance0.3187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A78ECB #B2CB8E
analogous
#8E93CB #A78ECB #C58ECB
triadic
#A78ECB #CBA78E #8ECBA7
tetradic
#A78ECB #CB8E93 #B2CB8E #8ECBC5
square
#A78ECB #CB8E93 #B2CB8E #8ECBC5
split-complementary
#A78ECB #CBC58E #93CB8E
monochromatic
#684698 #8664B8 #A78ECB #C8B8DE #E8E2F2

Accessibility & contrast

On white

2.85
#A78ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#A78ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A78ECB
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A78ECB#FFFFFF#000000##000000
##A78ECB1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8198CD
Deuteranopia (green-blind)
#8699C9
Tritanopia (blue-blind)
#A197A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a78ecb;
/* rgb */ color: rgb(167, 142, 203);
/* oklch */ color: oklch(69.1% 0.092 302.9);
Tailwind
colors: {
  custom: {
    50: '#c2afdb',
    500: '#a78ecb',
    950: '#000000',
  },
}
SCSS
$custom: #a78ecb;
$custom-light: #c2afdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a78ecb",
  "rgb": {
    "r": 167,
    "g": 142,
    "b": 203
  },
  "hsl": {
    "h": 264.59,
    "s": 36.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69148,
    "c": 0.09171,
    "h": 302.9
  },
  "luminance": 0.31873
}

Semantic roles & 50–950 ramp

primary
#A78ECB
secondary
#DCE4D1
accent
#B0367E
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A78ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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