#A672F8#A672F8

#A672F8 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.6% C 0.194 H 299.0°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A672F8
RGBrgb(166, 114, 248)
HSLhsl(263, 91%, 71%)
HSVhsv(263, 54%, 97%)
CMYKcmyk(33.1%, 54%, 0%, 2.7%)
CIE-LABlab(58.90, 47.69, -59.90)
CIE-LCHlch(58.90, 76.57, 308.53°)
OKLaboklab(66.56% 0.0938 -0.1694)
OKLCHoklch(66.56% 0.194 299)
XYZxyz(38.6824, 26.9186, 91.9466)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A672F8 #C4F872
analogous
#7281F8 #A672F8 #E972F8
triadic
#A672F8 #F8A672 #72F8A6
tetradic
#A672F8 #F87281 #C4F872 #72F8E9
square
#A672F8 #F87281 #C4F872 #72F8E9
split-complementary
#A672F8 #F8E972 #81F872
monochromatic
#600BE4 #8138F5 #A672F8 #CBACFB #EDE2FE

Accessibility & contrast

On white

3.29
#A672F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#A672F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A672F8
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A672F8#FFFFFF#000000##000000
##A672F81.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8EFD
Deuteranopia (green-blind)
#4B8DF5
Tritanopia (blue-blind)
#948DAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a672f8;
/* rgb */ color: rgb(166, 114, 248);
/* oklch */ color: oklch(66.6% 0.194 299.0);
Tailwind
colors: {
  custom: {
    50: '#c49cfb',
    500: '#a672f8',
    950: '#000000',
  },
}
SCSS
$custom: #a672f8;
$custom-light: #c49cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a672f8",
  "rgb": {
    "r": 166,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 263.284,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66564,
    "c": 0.19367,
    "h": 299
  },
  "luminance": 0.26919
}

Semantic roles & 50–950 ramp

primary
#A672F8
secondary
#E7F5D1
accent
#E6008C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A672F8

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

Preview Lab → · Contrast checker → · Palette generator →

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