#A674FB#A674FB

#A674FB is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.1% C 0.194 H 298.1°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A674FB
RGBrgb(166, 116, 251)
HSLhsl(262, 94%, 72%)
HSVhsv(262, 54%, 98%)
CMYKcmyk(33.9%, 53.8%, 0%, 1.6%)
CIE-LABlab(59.49, 47.35, -60.61)
CIE-LCHlch(59.49, 76.92, 308.00°)
OKLaboklab(67.06% 0.0914 -0.1715)
OKLCHoklch(67.06% 0.194 298.1)
XYZxyz(39.3796, 27.5623, 94.4934)
Luminance0.2756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A674FB #C9FB74
analogous
#7486FB #A674FB #E974FB
triadic
#A674FB #FBA674 #74FBA6
tetradic
#A674FB #FB7486 #C9FB74 #74FBE9
square
#A674FB #FB7486 #C9FB74 #74FBE9
split-complementary
#A674FB #FBE974 #86FB74
monochromatic
#5C07EE #8039F9 #A674FB #CCAFFD #ECE1FE

Accessibility & contrast

On white

3.22
#A674FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#A674FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A674FB
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A674FB#FFFFFF#000000##000000
##A674FB1.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8FFF
Deuteranopia (green-blind)
#4B8EF8
Tritanopia (blue-blind)
#938FAD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a674fb;
/* rgb */ color: rgb(166, 116, 251);
/* oklch */ color: oklch(67.1% 0.194 298.1);
Tailwind
colors: {
  custom: {
    50: '#c49dfd',
    500: '#a674fb',
    950: '#000000',
  },
}
SCSS
$custom: #a674fb;
$custom-light: #c49dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a674fb",
  "rgb": {
    "r": 166,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 262.222,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67057,
    "c": 0.19438,
    "h": 298.1
  },
  "luminance": 0.27563
}

Semantic roles & 50–950 ramp

primary
#A674FB
secondary
#EAF6D4
accent
#E60091
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A674FB

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

Preview Lab → · Contrast checker → · Palette generator →

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