#A678FC#A678FC

#A678FC is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.7% C 0.190 H 297.1°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A678FC
RGBrgb(166, 120, 252)
HSLhsl(261, 96%, 73%)
HSVhsv(261, 52%, 99%)
CMYKcmyk(34.1%, 52.4%, 0%, 1.2%)
CIE-LABlab(60.40, 45.42, -59.71)
CIE-LCHlch(60.40, 75.02, 307.26°)
OKLaboklab(67.75% 0.0866 -0.1689)
OKLCHoklch(67.75% 0.19 297.1)
XYZxyz(40.0087, 28.5677, 95.4828)
Luminance0.2857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A678FC #CEFC78
analogous
#788CFC #A678FC #E878FC
triadic
#A678FC #FCA678 #78FCA6
tetradic
#A678FC #FC788C #CEFC78 #78FCE8
square
#A678FC #FC788C #CEFC78 #78FCE8
split-complementary
#A678FC #FCE878 #8CFC78
monochromatic
#5905F4 #7F3CFB #A678FC #CDB4FD #EBE1FE

Accessibility & contrast

On white

3.13
#A678FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#A678FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A678FC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A678FC#FFFFFF#000000##000000
##A678FC1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4392FF
Deuteranopia (green-blind)
#5090F9
Tritanopia (blue-blind)
#9392AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a678fc;
/* rgb */ color: rgb(166, 120, 252);
/* oklch */ color: oklch(67.7% 0.190 297.1);
Tailwind
colors: {
  custom: {
    50: '#c4a0fe',
    500: '#a678fc',
    950: '#000000',
  },
}
SCSS
$custom: #a678fc;
$custom-light: #c4a0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a678fc",
  "rgb": {
    "r": 166,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 260.909,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67747,
    "c": 0.18979,
    "h": 297.1
  },
  "luminance": 0.28568
}

Semantic roles & 50–950 ramp

primary
#A678FC
secondary
#EBF7D4
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A678FC

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

Preview Lab → · Contrast checker → · Palette generator →

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