#A670F6#A670F6

#A670F6 is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.1% C 0.194 H 299.7°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A670F6
RGBrgb(166, 112, 246)
HSLhsl(264, 88%, 70%)
HSVhsv(264, 54%, 96%)
CMYKcmyk(32.5%, 54.5%, 0%, 3.5%)
CIE-LABlab(58.37, 48.28, -59.65)
CIE-LCHlch(58.37, 76.74, 308.99°)
OKLaboklab(66.14% 0.0962 -0.1687)
OKLCHoklch(66.14% 0.194 299.7)
XYZxyz(38.1506, 26.3489, 90.2468)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A670F6 #C0F670
analogous
#707DF6 #A670F6 #E970F6
triadic
#A670F6 #F6A670 #70F6A6
tetradic
#A670F6 #F6707D #C0F670 #70F6E9
square
#A670F6 #F6707D #C0F670 #70F6E9
split-complementary
#A670F6 #F6E970 #7DF670
monochromatic
#620EDE #8236F2 #A670F6 #CAAAFA #EDE2FD

Accessibility & contrast

On white

3.35
#A670F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#A670F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A670F6
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A670F6#FFFFFF#000000##000000
##A670F61.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#388CFA
Deuteranopia (green-blind)
#4B8BF3
Tritanopia (blue-blind)
#958BA8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a670f6;
/* rgb */ color: rgb(166, 112, 246);
/* oklch */ color: oklch(66.1% 0.194 299.7);
Tailwind
colors: {
  custom: {
    50: '#c49bfa',
    500: '#a670f6',
    950: '#000000',
  },
}
SCSS
$custom: #a670f6;
$custom-light: #c49bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a670f6",
  "rgb": {
    "r": 166,
    "g": 112,
    "b": 246
  },
  "hsl": {
    "h": 264.179,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66135,
    "c": 0.19419,
    "h": 299.7
  },
  "luminance": 0.26349
}

Semantic roles & 50–950 ramp

primary
#A670F6
secondary
#E5F3CE
accent
#E50189
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A670F6

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

Preview Lab → · Contrast checker → · Palette generator →

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