#A670FE#A670FE

#A670FE is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 66.6% C 0.204 H 298.2°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A670FE
RGBrgb(166, 112, 254)
HSLhsl(263, 99%, 72%)
HSVhsv(263, 56%, 100%)
CMYKcmyk(34.6%, 55.9%, 0%, 0.4%)
CIE-LABlab(58.84, 50.26, -63.32)
CIE-LCHlch(58.84, 80.84, 308.44°)
OKLaboklab(66.63% 0.0963 -0.1795)
OKLCHoklch(66.63% 0.204 298.2)
XYZxyz(39.4050, 26.8506, 96.8534)
Luminance0.2685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A670FE #C8FE70
analogous
#7081FE #A670FE #ED70FE
triadic
#A670FE #FEA670 #70FEA6
tetradic
#A670FE #FE7081 #C8FE70 #70FEED
square
#A670FE #FE7081 #C8FE70 #70FEED
split-complementary
#A670FE #FEED70 #81FE70
monochromatic
#5D02F2 #8033FE #A670FE #CCADFE #ECE1FF

Accessibility & contrast

On white

3.30
#A670FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#A670FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A670FE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A670FE#FFFFFF#000000##000000
##A670FE1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8EFF
Deuteranopia (green-blind)
#418CFB
Tritanopia (blue-blind)
#928DAC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a670fe;
/* rgb */ color: rgb(166, 112, 254);
/* oklch */ color: oklch(66.6% 0.204 298.2);
Tailwind
colors: {
  custom: {
    50: '#c59bff',
    500: '#a670fe',
    950: '#000000',
  },
}
SCSS
$custom: #a670fe;
$custom-light: #c59bff;
$custom-dark: #000000;
JSON
{
  "hex": "#a670fe",
  "rgb": {
    "r": 166,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 262.817,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66631,
    "c": 0.20367,
    "h": 298.2
  },
  "luminance": 0.26851
}

Semantic roles & 50–950 ramp

primary
#A670FE
secondary
#E9F7D3
accent
#E6008E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A670FE

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

Preview Lab → · Contrast checker → · Palette generator →

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