#A65FA2#A65FA2

#A65FA2 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.0% C 0.128 H 329.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A65FA2
RGBrgb(166, 95, 162)
HSLhsl(303, 29%, 51%)
HSVhsv(303, 43%, 65%)
CMYKcmyk(0%, 42.8%, 2.4%, 34.9%)
CIE-LABlab(50.57, 39.03, -24.07)
CIE-LCHlch(50.57, 45.86, 328.34°)
OKLaboklab(58.97% 0.1095 -0.0655)
OKLCHoklch(58.97% 0.128 329.1)
XYZxyz(26.3393, 18.9014, 36.4364)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A65FA2 #5FA663
analogous
#865FA6 #A65FA2 #A65F7E
triadic
#A65FA2 #A2A65F #5FA2A6
tetradic
#A65FA2 #A6865F #5FA663 #5F7EA6
square
#A65FA2 #A6865F #5FA663 #5F7EA6
split-complementary
#A65FA2 #7EA65F #5FA686
monochromatic
#593257 #80477D #A65FA2 #BC86B9 #D2AED0

Accessibility & contrast

On white

4.39
#A65FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A65FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A65FA2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A65FA2#FFFFFF#000000##000000
##A65FA21.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B72A4
Deuteranopia (green-blind)
#6E7CA0
Tritanopia (blue-blind)
#AB6579
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a65fa2;
/* rgb */ color: rgb(166, 95, 162);
/* oklch */ color: oklch(59.0% 0.128 329.1);
Tailwind
colors: {
  custom: {
    50: '#c28ebd',
    500: '#a65fa2',
    950: '#000000',
  },
}
SCSS
$custom: #a65fa2;
$custom-light: #c28ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#a65fa2",
  "rgb": {
    "r": 166,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 303.38,
    "s": 28.514,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58973,
    "c": 0.1276,
    "h": 329.1
  },
  "luminance": 0.189
}

Semantic roles & 50–950 ramp

primary
#A65FA2
secondary
#A1C0A2
accent
#C56963
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#120C12
muted
#817D81

Preview Lab

Preview with #A65FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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