#A672F5#A672F5

#A672F5 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.4% C 0.190 H 299.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A672F5
RGBrgb(166, 114, 245)
HSLhsl(264, 87%, 70%)
HSVhsv(264, 53%, 96%)
CMYKcmyk(32.2%, 53.5%, 0%, 3.9%)
CIE-LABlab(58.73, 46.95, -58.52)
CIE-LCHlch(58.73, 75.03, 308.74°)
OKLaboklab(66.38% 0.0937 -0.1654)
OKLCHoklch(66.38% 0.19 299.5)
XYZxyz(38.2207, 26.7339, 89.5150)
Luminance0.2673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A672F5 #C1F572
analogous
#727FF5 #A672F5 #E872F5
triadic
#A672F5 #F5A672 #72F5A6
tetradic
#A672F5 #F5727F #C1F572 #72F5E8
square
#A672F5 #F5727F #C1F572 #72F5E8
split-complementary
#A672F5 #F5E872 #7FF572
monochromatic
#6110DD #8239F1 #A672F5 #CAABF9 #EDE2FD

Accessibility & contrast

On white

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

On black

6.35
#A672F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A672F5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A672F5#FFFFFF#000000##000000
##A672F51.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8DF9
Deuteranopia (green-blind)
#4E8CF2
Tritanopia (blue-blind)
#958CA9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a672f5;
/* rgb */ color: rgb(166, 114, 245);
/* oklch */ color: oklch(66.4% 0.190 299.5);
Tailwind
colors: {
  custom: {
    50: '#c49cf9',
    500: '#a672f5',
    950: '#000000',
  },
}
SCSS
$custom: #a672f5;
$custom-light: #c49cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#a672f5",
  "rgb": {
    "r": 166,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 263.817,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66382,
    "c": 0.19007,
    "h": 299.5
  },
  "luminance": 0.26734
}

Semantic roles & 50–950 ramp

primary
#A672F5
secondary
#E5F3CF
accent
#E3028A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A672F5

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

Preview Lab → · Contrast checker → · Palette generator →

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