#A670FC#A670FC

#A670FC is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 66.5% C 0.201 H 298.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A670FC
RGBrgb(166, 112, 252)
HSLhsl(263, 96%, 71%)
HSVhsv(263, 56%, 99%)
CMYKcmyk(34.1%, 55.6%, 0%, 1.2%)
CIE-LABlab(58.72, 49.76, -62.41)
CIE-LCHlch(58.72, 79.82, 308.57°)
OKLaboklab(66.51% 0.0963 -0.1768)
OKLCHoklch(66.51% 0.201 298.6)
XYZxyz(39.0864, 26.7232, 95.1754)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A670FC #C6FC70
analogous
#7080FC #A670FC #EC70FC
triadic
#A670FC #FCA670 #70FCA6
tetradic
#A670FC #FC7080 #C6FC70 #70FCEC
square
#A670FC #FC7080 #C6FC70 #70FCEC
split-complementary
#A670FC #FCEC70 #80FC70
monochromatic
#5E05ED #8134FB #A670FC #CBACFD #ECE1FE

Accessibility & contrast

On white

3.31
#A670FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#A670FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A670FC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A670FC#FFFFFF#000000##000000
##A670FC1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#308DFF
Deuteranopia (green-blind)
#448CF9
Tritanopia (blue-blind)
#938DAB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a670fc;
/* rgb */ color: rgb(166, 112, 252);
/* oklch */ color: oklch(66.5% 0.201 298.6);
Tailwind
colors: {
  custom: {
    50: '#c59bfe',
    500: '#a670fc',
    950: '#000000',
  },
}
SCSS
$custom: #a670fc;
$custom-light: #c59bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a670fc",
  "rgb": {
    "r": 166,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 263.143,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66505,
    "c": 0.20131,
    "h": 298.6
  },
  "luminance": 0.26724
}

Semantic roles & 50–950 ramp

primary
#A670FC
secondary
#E8F6D2
accent
#E6008D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A670FC

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

Preview Lab → · Contrast checker → · Palette generator →

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