#A674F1#A674F1

#A674F1 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.5% C 0.182 H 299.9°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A674F1
RGBrgb(166, 116, 241)
HSLhsl(264, 82%, 70%)
HSVhsv(264, 52%, 95%)
CMYKcmyk(31.1%, 51.9%, 0%, 5.5%)
CIE-LABlab(58.93, 44.88, -55.98)
CIE-LCHlch(58.93, 71.75, 308.72°)
OKLaboklab(66.46% 0.091 -0.158)
OKLCHoklch(66.46% 0.182 299.9)
XYZxyz(37.8447, 26.9484, 86.4098)
Luminance0.2695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A674F1 #BFF174
analogous
#7481F1 #A674F1 #E474F1
triadic
#A674F1 #F1A674 #74F1A6
tetradic
#A674F1 #F17481 #BFF174 #74F1E4
square
#A674F1 #F17481 #BFF174 #74F1E4
split-complementary
#A674F1 #F1E474 #81F174
monochromatic
#6215D5 #823CEB #A674F1 #CAACF7 #EDE3FC

Accessibility & contrast

On white

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

On black

6.39
#A674F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A674F1
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A674F1#FFFFFF#000000##000000
##A674F11.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#468DF5
Deuteranopia (green-blind)
#558DEE
Tritanopia (blue-blind)
#978CA8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a674f1;
/* rgb */ color: rgb(166, 116, 241);
/* oklch */ color: oklch(66.5% 0.182 299.9);
Tailwind
colors: {
  custom: {
    50: '#c49df6',
    500: '#a674f1',
    950: '#000000',
  },
}
SCSS
$custom: #a674f1;
$custom-light: #c49df6;
$custom-dark: #000000;
JSON
{
  "hex": "#a674f1",
  "rgb": {
    "r": 166,
    "g": 116,
    "b": 241
  },
  "hsl": {
    "h": 264,
    "s": 81.699,
    "l": 70
  },
  "oklch": {
    "l": 0.66457,
    "c": 0.18227,
    "h": 299.9
  },
  "luminance": 0.26949
}

Semantic roles & 50–950 ramp

primary
#A674F1
secondary
#E4F2CF
accent
#DE0788
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A674F1

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

Preview Lab → · Contrast checker → · Palette generator →

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