#A672F9#A672F9

#A672F9 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.6% C 0.195 H 298.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A672F9
RGBrgb(166, 114, 249)
HSLhsl(263, 92%, 71%)
HSVhsv(263, 54%, 98%)
CMYKcmyk(33.3%, 54.2%, 0%, 2.4%)
CIE-LABlab(58.96, 47.94, -60.37)
CIE-LCHlch(58.96, 77.09, 308.46°)
OKLaboklab(66.63% 0.0938 -0.1708)
OKLCHoklch(66.63% 0.195 298.8)
XYZxyz(38.8379, 26.9808, 92.7658)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A672F9 #C5F972
analogous
#7281F9 #A672F9 #E972F9
triadic
#A672F9 #F9A672 #72F9A6
tetradic
#A672F9 #F97281 #C5F972 #72F9E9
square
#A672F9 #F97281 #C5F972 #72F9E9
split-complementary
#A672F9 #F9E972 #81F972
monochromatic
#5F0AE7 #8137F7 #A672F9 #CBADFB #ECE2FE

Accessibility & contrast

On white

3.28
#A672F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#A672F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A672F9
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A672F9#FFFFFF#000000##000000
##A672F91.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#398EFE
Deuteranopia (green-blind)
#4A8DF6
Tritanopia (blue-blind)
#948DAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a672f9;
/* rgb */ color: rgb(166, 114, 249);
/* oklch */ color: oklch(66.6% 0.195 298.8);
Tailwind
colors: {
  custom: {
    50: '#c49cfc',
    500: '#a672f9',
    950: '#000000',
  },
}
SCSS
$custom: #a672f9;
$custom-light: #c49cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a672f9",
  "rgb": {
    "r": 166,
    "g": 114,
    "b": 249
  },
  "hsl": {
    "h": 263.111,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66625,
    "c": 0.19487,
    "h": 298.8
  },
  "luminance": 0.26981
}

Semantic roles & 50–950 ramp

primary
#A672F9
secondary
#E7F5D2
accent
#E6008D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A672F9

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

Preview Lab → · Contrast checker → · Palette generator →

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