#A672FB#A672FB

#A672FB is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.7% C 0.197 H 298.4°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A672FB
RGBrgb(166, 114, 251)
HSLhsl(263, 94%, 72%)
HSVhsv(263, 55%, 98%)
CMYKcmyk(33.9%, 54.6%, 0%, 1.6%)
CIE-LABlab(59.07, 48.44, -61.28)
CIE-LCHlch(59.07, 78.11, 308.32°)
OKLaboklab(66.75% 0.0939 -0.1735)
OKLCHoklch(66.75% 0.197 298.4)
XYZxyz(39.1515, 27.1062, 94.4174)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A672FB #C7FB72
analogous
#7283FB #A672FB #EB72FB
triadic
#A672FB #FBA672 #72FBA6
tetradic
#A672FB #FB7283 #C7FB72 #72FBEB
square
#A672FB #FB7283 #C7FB72 #72FBEB
split-complementary
#A672FB #FBEB72 #83FB72
monochromatic
#5E07EC #8036F9 #A672FB #CCAEFD #ECE1FE

Accessibility & contrast

On white

3.27
#A672FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#A672FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A672FB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A672FB#FFFFFF#000000##000000
##A672FB1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#378EFF
Deuteranopia (green-blind)
#488DF8
Tritanopia (blue-blind)
#938EAC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a672fb;
/* rgb */ color: rgb(166, 114, 251);
/* oklch */ color: oklch(66.7% 0.197 298.4);
Tailwind
colors: {
  custom: {
    50: '#c59cfd',
    500: '#a672fb',
    950: '#000000',
  },
}
SCSS
$custom: #a672fb;
$custom-light: #c59cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a672fb",
  "rgb": {
    "r": 166,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 262.774,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66748,
    "c": 0.19726,
    "h": 298.4
  },
  "luminance": 0.27107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A672FB

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

Preview Lab → · Contrast checker → · Palette generator →

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