#A672EC#A672EC

#A672EC is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.8% C 0.179 H 301.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A672EC
RGBrgb(166, 114, 236)
HSLhsl(266, 76%, 69%)
HSVhsv(266, 52%, 93%)
CMYKcmyk(29.7%, 51.7%, 0%, 7.5%)
CIE-LABlab(58.22, 44.76, -54.33)
CIE-LCHlch(58.22, 70.39, 309.48°)
OKLaboklab(65.85% 0.0932 -0.1531)
OKLCHoklch(65.85% 0.179 301.3)
XYZxyz(36.8800, 26.1976, 82.4543)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A672EC #B8EC72
analogous
#727BEC #A672EC #E372EC
triadic
#A672EC #ECA672 #72ECA6
tetradic
#A672EC #EC727B #B8EC72 #72ECE3
square
#A672EC #EC727B #B8EC72 #72ECE3
split-complementary
#A672EC #ECE372 #7BEC72
monochromatic
#651BC9 #843CE5 #A672EC #C8A8F3 #EADEFB

Accessibility & contrast

On white

3.37
#A672EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#A672EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A672EC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A672EC#FFFFFF#000000##000000
##A672EC1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BF0
Deuteranopia (green-blind)
#568BE9
Tritanopia (blue-blind)
#9889A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a672ec;
/* rgb */ color: rgb(166, 114, 236);
/* oklch */ color: oklch(65.8% 0.179 301.3);
Tailwind
colors: {
  custom: {
    50: '#c49cf3',
    500: '#a672ec',
    950: '#000000',
  },
}
SCSS
$custom: #a672ec;
$custom-light: #c49cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a672ec",
  "rgb": {
    "r": 166,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 265.574,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65847,
    "c": 0.17922,
    "h": 301.3
  },
  "luminance": 0.26198
}

Semantic roles & 50–950 ramp

primary
#A672EC
secondary
#E0EFCB
accent
#D80D82
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A672EC

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

Preview Lab → · Contrast checker → · Palette generator →

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