#A65FC2#A65FC2

#A65FC2 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.6% C 0.161 H 315.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A65FC2
RGBrgb(166, 95, 194)
HSLhsl(283, 45%, 57%)
HSVhsv(283, 51%, 76%)
CMYKcmyk(14.4%, 51%, 0%, 23.9%)
CIE-LABlab(52.05, 45.43, -40.37)
CIE-LCHlch(52.05, 60.77, 318.38°)
OKLaboklab(60.56% 0.1149 -0.1123)
OKLCHoklch(60.56% 0.161 315.7)
XYZxyz(29.5542, 20.1873, 53.3682)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A65FC2 #7BC25F
analogous
#755FC2 #A65FC2 #C25FAD
triadic
#A65FC2 #C2A65F #5FC2A6
tetradic
#A65FC2 #C2755F #7BC25F #5FADC2
square
#A65FC2 #C2755F #7BC25F #5FADC2
split-complementary
#A65FC2 #ADC25F #5FC275
monochromatic
#642E79 #883FA5 #A65FC2 #BF8BD3 #D7B8E4

Accessibility & contrast

On white

4.17
#A65FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#A65FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A65FC2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A65FC2#FFFFFF#000000##000000
##A65FC21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A78C5
Deuteranopia (green-blind)
#5F7EBF
Tritanopia (blue-blind)
#A46E88
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a65fc2;
/* rgb */ color: rgb(166, 95, 194);
/* oklch */ color: oklch(60.6% 0.161 315.7);
Tailwind
colors: {
  custom: {
    50: '#c28fd5',
    500: '#a65fc2',
    950: '#000000',
  },
}
SCSS
$custom: #a65fc2;
$custom-light: #c28fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#a65fc2",
  "rgb": {
    "r": 166,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 283.03,
    "s": 44.796,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60555,
    "c": 0.1607,
    "h": 315.7
  },
  "luminance": 0.20186
}

Semantic roles & 50–950 ramp

primary
#A65FC2
secondary
#B6D3AA
accent
#D45378
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A65FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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