#A678E6#A678E6

#A678E6 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.5% C 0.163 H 301.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A678E6
RGBrgb(166, 120, 230)
HSLhsl(265, 69%, 69%)
HSVhsv(265, 48%, 90%)
CMYKcmyk(27.8%, 47.8%, 0%, 9.8%)
CIE-LABlab(59.21, 39.99, -49.42)
CIE-LCHlch(59.21, 63.57, 308.98°)
OKLaboklab(66.48% 0.0848 -0.1388)
OKLCHoklch(66.48% 0.163 301.4)
XYZxyz(36.7220, 27.2530, 78.1733)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A678E6 #B8E678
analogous
#7881E6 #A678E6 #DD78E6
triadic
#A678E6 #E6A678 #78E6A6
tetradic
#A678E6 #E67881 #B8E678 #78E6DD
square
#A678E6 #E67881 #B8E678 #78E6DD
split-complementary
#A678E6 #E6DD78 #81E678
monochromatic
#6524C0 #8444DC #A678E6 #C8ACF0 #EADFF9

Accessibility & contrast

On white

3.26
#A678E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#A678E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A678E6
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A678E6#FFFFFF#000000##000000
##A678E61.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#568EEA
Deuteranopia (green-blind)
#628EE3
Tritanopia (blue-blind)
#9A8CA4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a678e6;
/* rgb */ color: rgb(166, 120, 230);
/* oklch */ color: oklch(66.5% 0.163 301.4);
Tailwind
colors: {
  custom: {
    50: '#c3a0ee',
    500: '#a678e6',
    950: '#000000',
  },
}
SCSS
$custom: #a678e6;
$custom-light: #c3a0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a678e6",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 230
  },
  "hsl": {
    "h": 265.091,
    "s": 68.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66476,
    "c": 0.16262,
    "h": 301.4
  },
  "luminance": 0.27253
}

Semantic roles & 50–950 ramp

primary
#A678E6
secondary
#E0EDCC
accent
#D11582
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F16
muted
#827E84

Preview Lab

Preview with #A678E6

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

Preview Lab → · Contrast checker → · Palette generator →

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