#A672FC#A672FC

#A672FC is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.8% C 0.198 H 298.2°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A672FC
RGBrgb(166, 114, 252)
HSLhsl(263, 96%, 72%)
HSVhsv(263, 55%, 99%)
CMYKcmyk(34.1%, 54.8%, 0%, 1.2%)
CIE-LABlab(59.13, 48.69, -61.74)
CIE-LCHlch(59.13, 78.63, 308.26°)
OKLaboklab(66.81% 0.0939 -0.1748)
OKLCHoklch(66.81% 0.198 298.2)
XYZxyz(39.3096, 27.1694, 95.2498)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A672FC #C8FC72
analogous
#7283FC #A672FC #EB72FC
triadic
#A672FC #FCA672 #72FCA6
tetradic
#A672FC #FC7283 #C8FC72 #72FCEB
square
#A672FC #FC7283 #C8FC72 #72FCEB
split-complementary
#A672FC #FCEB72 #83FC72
monochromatic
#5D05EF #8036FB #A672FC #CCAEFD #ECE1FE

Accessibility & contrast

On white

3.26
#A672FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#A672FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A672FC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A672FC#FFFFFF#000000##000000
##A672FC1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#358EFF
Deuteranopia (green-blind)
#478DF9
Tritanopia (blue-blind)
#938EAC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a672fc;
/* rgb */ color: rgb(166, 114, 252);
/* oklch */ color: oklch(66.8% 0.198 298.2);
Tailwind
colors: {
  custom: {
    50: '#c59cfe',
    500: '#a672fc',
    950: '#000000',
  },
}
SCSS
$custom: #a672fc;
$custom-light: #c59cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a672fc",
  "rgb": {
    "r": 166,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 262.609,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.6681,
    "c": 0.19846,
    "h": 298.2
  },
  "luminance": 0.2717
}

Semantic roles & 50–950 ramp

primary
#A672FC
secondary
#E9F6D3
accent
#E6008F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A672FC

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

Preview Lab → · Contrast checker → · Palette generator →

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