#A665E4#A665E4

#A665E4 is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.4% C 0.189 H 305.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#A665E4
RGBrgb(166, 101, 228)
HSLhsl(271, 70%, 65%)
HSVhsv(271, 56%, 89%)
CMYKcmyk(27.2%, 55.7%, 0%, 10.6%)
CIE-LABlab(55.09, 49.84, -54.86)
CIE-LCHlch(55.09, 74.11, 312.26°)
OKLaboklab(63.39% 0.1093 -0.1546)
OKLCHoklch(63.39% 0.189 305.3)
XYZxyz(34.3801, 23.0160, 76.0151)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A665E4 #A3E465
analogous
#6765E4 #A665E4 #E465E2
triadic
#A665E4 #E4A665 #65E4A6
tetradic
#A665E4 #E46765 #A3E465 #65E2E4
square
#A665E4 #E46765 #A3E465 #65E2E4
split-complementary
#A665E4 #E2E465 #65E467
monochromatic
#691FB0 #8831DB #A665E4 #C499ED #E2CDF6

Accessibility & contrast

On white

3.75
#A665E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#A665E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A665E4
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A665E4#FFFFFF#000000##000000
##A665E41.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3582E8
Deuteranopia (green-blind)
#4E84E1
Tritanopia (blue-blind)
#9B7D9B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a665e4;
/* rgb */ color: rgb(166, 101, 228);
/* oklch */ color: oklch(63.4% 0.189 305.3);
Tailwind
colors: {
  custom: {
    50: '#c493ed',
    500: '#a665e4',
    950: '#000000',
  },
}
SCSS
$custom: #a665e4;
$custom-light: #c493ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a665e4",
  "rgb": {
    "r": 166,
    "g": 101,
    "b": 228
  },
  "hsl": {
    "h": 270.709,
    "s": 70.166,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63389,
    "c": 0.18937,
    "h": 305.3
  },
  "luminance": 0.23016
}

Semantic roles & 50–950 ramp

primary
#A665E4
secondary
#D2E8BC
accent
#D21370
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A665E4

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

Preview Lab → · Contrast checker → · Palette generator →

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