#A46CEB#A46CEB

#A46CEB is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.7% C 0.187 H 301.8°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A46CEB
RGBrgb(164, 108, 235)
HSLhsl(266, 76%, 67%)
HSVhsv(266, 54%, 92%)
CMYKcmyk(30.2%, 54%, 0%, 7.8%)
CIE-LABlab(56.70, 47.28, -56.21)
CIE-LCHlch(56.70, 73.45, 310.06°)
OKLaboklab(64.65% 0.0983 -0.1587)
OKLCHoklch(64.65% 0.187 301.8)
XYZxyz(35.6643, 24.6157, 81.4535)
Luminance0.2462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A46CEB #B3EB6C
analogous
#6C73EB #A46CEB #E46CEB
triadic
#A46CEB #EBA46C #6CEBA4
tetradic
#A46CEB #EB6C73 #B3EB6C #6CEBE4
square
#A46CEB #EB6C73 #B3EB6C #6CEBE4
split-complementary
#A46CEB #EBE46C #73EB6C
monochromatic
#641AC2 #8336E4 #A46CEB #C5A2F2 #E7D8FA

Accessibility & contrast

On white

3.55
#A46CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#A46CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A46CEB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A46CEB#FFFFFF#000000##000000
##A46CEB1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EF
Deuteranopia (green-blind)
#4E87E8
Tritanopia (blue-blind)
#9685A1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a46ceb;
/* rgb */ color: rgb(164, 108, 235);
/* oklch */ color: oklch(64.7% 0.187 301.8);
Tailwind
colors: {
  custom: {
    50: '#c298f2',
    500: '#a46ceb',
    950: '#000000',
  },
}
SCSS
$custom: #a46ceb;
$custom-light: #c298f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a46ceb",
  "rgb": {
    "r": 164,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 266.457,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64654,
    "c": 0.18663,
    "h": 301.8
  },
  "luminance": 0.24616
}

Semantic roles & 50–950 ramp

primary
#A46CEB
secondary
#DCEDC5
accent
#D80D7F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A46CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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