#A674EF#A674EF

#A674EF is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.3% C 0.180 H 300.3°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A674EF
RGBrgb(166, 116, 239)
HSLhsl(264, 79%, 70%)
HSVhsv(264, 51%, 94%)
CMYKcmyk(30.5%, 51.5%, 0%, 6.3%)
CIE-LABlab(58.82, 44.39, -55.05)
CIE-LCHlch(58.82, 70.72, 308.88°)
OKLaboklab(66.34% 0.0908 -0.1552)
OKLCHoklch(66.34% 0.18 300.3)
XYZxyz(37.5476, 26.8296, 84.8451)
Luminance0.2683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A674EF #BDEF74
analogous
#7480EF #A674EF #E374EF
triadic
#A674EF #EFA674 #74EFA6
tetradic
#A674EF #EF7480 #BDEF74 #74EFE3
square
#A674EF #EF7480 #BDEF74 #74EFE3
split-complementary
#A674EF #EFE374 #80EF74
monochromatic
#6318D1 #833DE9 #A674EF #C9ABF5 #ECE2FC

Accessibility & contrast

On white

3.30
#A674EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#A674EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A674EF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A674EF#FFFFFF#000000##000000
##A674EF1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#488DF3
Deuteranopia (green-blind)
#568DEC
Tritanopia (blue-blind)
#978BA7
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a674ef;
/* rgb */ color: rgb(166, 116, 239);
/* oklch */ color: oklch(66.3% 0.180 300.3);
Tailwind
colors: {
  custom: {
    50: '#c49df5',
    500: '#a674ef',
    950: '#000000',
  },
}
SCSS
$custom: #a674ef;
$custom-light: #c49df5;
$custom-dark: #000000;
JSON
{
  "hex": "#a674ef",
  "rgb": {
    "r": 166,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 264.39,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6634,
    "c": 0.17984,
    "h": 300.3
  },
  "luminance": 0.2683
}

Semantic roles & 50–950 ramp

primary
#A674EF
secondary
#E3F1CE
accent
#DC0A86
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A674EF

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

Preview Lab → · Contrast checker → · Palette generator →

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