#A674F5#A674F5

#A674F5 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.7% C 0.187 H 299.2°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A674F5
RGBrgb(166, 116, 245)
HSLhsl(263, 87%, 71%)
HSVhsv(263, 53%, 96%)
CMYKcmyk(32.2%, 52.7%, 0%, 3.9%)
CIE-LABlab(59.15, 45.87, -57.84)
CIE-LCHlch(59.15, 73.82, 308.41°)
OKLaboklab(66.7% 0.0912 -0.1634)
OKLCHoklch(66.7% 0.187 299.2)
XYZxyz(38.4487, 27.1900, 89.5910)
Luminance0.2719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A674F5 #C3F574
analogous
#7482F5 #A674F5 #E774F5
triadic
#A674F5 #F5A674 #74F5A6
tetradic
#A674F5 #F57482 #C3F574 #74F5E7
square
#A674F5 #F57482 #C3F574 #74F5E7
split-complementary
#A674F5 #F5E774 #82F574
monochromatic
#6010DF #813BF1 #A674F5 #CBADF9 #EDE2FD

Accessibility & contrast

On white

3.26
#A674F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#A674F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A674F5
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A674F5#FFFFFF#000000##000000
##A674F51.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#428EF9
Deuteranopia (green-blind)
#518DF2
Tritanopia (blue-blind)
#958DAA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a674f5;
/* rgb */ color: rgb(166, 116, 245);
/* oklch */ color: oklch(66.7% 0.187 299.2);
Tailwind
colors: {
  custom: {
    50: '#c49df9',
    500: '#a674f5',
    950: '#000000',
  },
}
SCSS
$custom: #a674f5;
$custom-light: #c49df9;
$custom-dark: #000000;
JSON
{
  "hex": "#a674f5",
  "rgb": {
    "r": 166,
    "g": 116,
    "b": 245
  },
  "hsl": {
    "h": 263.256,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66695,
    "c": 0.18713,
    "h": 299.2
  },
  "luminance": 0.2719
}

Semantic roles & 50–950 ramp

primary
#A674F5
secondary
#E6F4D1
accent
#E3028C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A674F5

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

Preview Lab → · Contrast checker → · Palette generator →

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