#A665B2#A665B2

#A665B2 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 60.7% C 0.133 H 321.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A665B2
RGBrgb(166, 101, 178)
HSLhsl(291, 33%, 55%)
HSVhsv(291, 43%, 70%)
CMYKcmyk(6.7%, 43.3%, 0%, 30.2%)
CIE-LABlab(52.54, 38.89, -30.35)
CIE-LCHlch(52.54, 49.33, 322.03°)
OKLaboklab(60.67% 0.1038 -0.0835)
OKLCHoklch(60.67% 0.133 321.2)
XYZxyz(28.4145, 20.6297, 44.5960)
Luminance0.2063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A665B2 #71B265
analogous
#8065B2 #A665B2 #B26598
triadic
#A665B2 #B2A665 #65B2A6
tetradic
#A665B2 #B28065 #71B265 #6598B2
square
#A665B2 #B28065 #71B265 #6598B2
split-complementary
#A665B2 #98B265 #65B280
monochromatic
#603468 #864991 #A665B2 #BE8EC6 #D5B7DB

Accessibility & contrast

On white

4.10
#A665B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#A665B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A665B2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A665B2#FFFFFF#000000##000000
##A665B21.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B79B5
Deuteranopia (green-blind)
#6C80B0
Tritanopia (blue-blind)
#A86E83
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a665b2;
/* rgb */ color: rgb(166, 101, 178);
/* oklch */ color: oklch(60.7% 0.133 321.2);
Tailwind
colors: {
  custom: {
    50: '#c292c9',
    500: '#a665b2',
    950: '#000000',
  },
}
SCSS
$custom: #a665b2;
$custom-light: #c292c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a665b2",
  "rgb": {
    "r": 166,
    "g": 101,
    "b": 178
  },
  "hsl": {
    "h": 290.649,
    "s": 33.333,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60674,
    "c": 0.13322,
    "h": 321.2
  },
  "luminance": 0.20629
}

Semantic roles & 50–950 ramp

primary
#A665B2
secondary
#AECAA9
accent
#C95E6F
background
#FCF9FC
surface
#F8F1F8
border
#D1CBD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A665B2

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

Preview Lab → · Contrast checker → · Palette generator →

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