#A670F7#A670F7

#A670F7 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.2% C 0.195 H 299.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A670F7
RGBrgb(166, 112, 247)
HSLhsl(264, 89%, 70%)
HSVhsv(264, 55%, 97%)
CMYKcmyk(32.8%, 54.7%, 0%, 3.1%)
CIE-LABlab(58.42, 48.53, -60.11)
CIE-LCHlch(58.42, 77.25, 308.91°)
OKLaboklab(66.2% 0.0962 -0.17)
OKLCHoklch(66.2% 0.195 299.5)
XYZxyz(38.3045, 26.4104, 91.0573)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A670F7 #C1F770
analogous
#707DF7 #A670F7 #E970F7
triadic
#A670F7 #F7A670 #70F7A6
tetradic
#A670F7 #F7707D #C1F770 #70F7E9
square
#A670F7 #F7707D #C1F770 #70F7E9
split-complementary
#A670F7 #F7E970 #7DF770
monochromatic
#610DE0 #8236F4 #A670F7 #CAAAFA #EDE2FD

Accessibility & contrast

On white

3.34
#A670F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#A670F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A670F7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A670F7#FFFFFF#000000##000000
##A670F71.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#378CFC
Deuteranopia (green-blind)
#498BF4
Tritanopia (blue-blind)
#958BA9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a670f7;
/* rgb */ color: rgb(166, 112, 247);
/* oklch */ color: oklch(66.2% 0.195 299.5);
Tailwind
colors: {
  custom: {
    50: '#c49bfa',
    500: '#a670f7',
    950: '#000000',
  },
}
SCSS
$custom: #a670f7;
$custom-light: #c49bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a670f7",
  "rgb": {
    "r": 166,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 264,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66196,
    "c": 0.19537,
    "h": 299.5
  },
  "luminance": 0.26411
}

Semantic roles & 50–950 ramp

primary
#A670F7
secondary
#E5F4CF
accent
#E6008A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A670F7

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

Preview Lab → · Contrast checker → · Palette generator →

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