#A678DD#A678DD

#A678DD is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.0% C 0.151 H 303.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A678DD
RGBrgb(166, 120, 221)
HSLhsl(267, 60%, 67%)
HSVhsv(267, 46%, 87%)
CMYKcmyk(24.9%, 45.7%, 0%, 13.3%)
CIE-LABlab(58.75, 37.84, -45.11)
CIE-LCHlch(58.75, 58.88, 309.99°)
OKLaboklab(65.99% 0.0837 -0.1262)
OKLCHoklch(65.99% 0.151 303.5)
XYZxyz(35.4907, 26.7605, 71.6882)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A678DD #AFDD78
analogous
#787DDD #A678DD #D978DD
triadic
#A678DD #DDA678 #78DDA6
tetradic
#A678DD #DD787D #AFDD78 #78DDD9
square
#A678DD #DD787D #AFDD78 #78DDD9
split-complementary
#A678DD #DDD978 #7DDD78
monochromatic
#672CAF #8647D1 #A678DD #C6A9E9 #E6DAF6

Accessibility & contrast

On white

3.31
#A678DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#A678DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A678DD
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A678DD#FFFFFF#000000##000000
##A678DD1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8CE1
Deuteranopia (green-blind)
#678DDA
Tritanopia (blue-blind)
#9D89A0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a678dd;
/* rgb */ color: rgb(166, 120, 221);
/* oklch */ color: oklch(66.0% 0.151 303.5);
Tailwind
colors: {
  custom: {
    50: '#c2a0e8',
    500: '#a678dd',
    950: '#000000',
  },
}
SCSS
$custom: #a678dd;
$custom-light: #c2a0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a678dd",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 267.327,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65986,
    "c": 0.15143,
    "h": 303.5
  },
  "luminance": 0.2676
}

Semantic roles & 50–950 ramp

primary
#A678DD
secondary
#DAE9C8
accent
#C71E7A
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #A678DD

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

Preview Lab → · Contrast checker → · Palette generator →

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