#A670EF#A670EF

#A670EF is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.7% C 0.186 H 301.1°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A670EF
RGBrgb(166, 112, 239)
HSLhsl(266, 80%, 69%)
HSVhsv(266, 53%, 94%)
CMYKcmyk(30.5%, 53.1%, 0%, 6.3%)
CIE-LABlab(57.97, 46.57, -56.40)
CIE-LCHlch(57.97, 73.15, 309.55°)
OKLaboklab(65.71% 0.0959 -0.1592)
OKLCHoklch(65.71% 0.186 301.1)
XYZxyz(37.0964, 25.9272, 84.6947)
Luminance0.2593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A670EF #B9EF70
analogous
#707AEF #A670EF #E670EF
triadic
#A670EF #EFA670 #70EFA6
tetradic
#A670EF #EF707A #B9EF70 #70EFE6
square
#A670EF #EF707A #B9EF70 #70EFE6
split-complementary
#A670EF #EFE670 #7AEF70
monochromatic
#6517CE #8439E9 #A670EF #C8A7F5 #EBDEFB

Accessibility & contrast

On white

3.40
#A670EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#A670EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A670EF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A670EF#FFFFFF#000000##000000
##A670EF1.003.406.196.19
#FFFFFF3.401.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#408BF3
Deuteranopia (green-blind)
#518BEC
Tritanopia (blue-blind)
#9889A5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a670ef;
/* rgb */ color: rgb(166, 112, 239);
/* oklch */ color: oklch(65.7% 0.186 301.1);
Tailwind
colors: {
  custom: {
    50: '#c49bf5',
    500: '#a670ef',
    950: '#000000',
  },
}
SCSS
$custom: #a670ef;
$custom-light: #c49bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a670ef",
  "rgb": {
    "r": 166,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 265.512,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65712,
    "c": 0.18583,
    "h": 301.1
  },
  "luminance": 0.25927
}

Semantic roles & 50–950 ramp

primary
#A670EF
secondary
#E0F0CB
accent
#DC0983
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A670EF

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

Preview Lab → · Contrast checker → · Palette generator →

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