#A65EC7#A65EC7

#A65EC7 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.7% C 0.168 H 314.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A65EC7
RGBrgb(166, 94, 199)
HSLhsl(281, 48%, 57%)
HSVhsv(281, 53%, 78%)
CMYKcmyk(16.6%, 52.8%, 0%, 22%)
CIE-LABlab(52.10, 47.02, -43.15)
CIE-LCHlch(52.10, 63.82, 317.46°)
OKLaboklab(60.68% 0.1168 -0.1204)
OKLCHoklch(60.68% 0.168 314.1)
XYZxyz(30.0357, 20.2367, 56.3456)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A65EC7 #7FC75E
analogous
#725EC7 #A65EC7 #C75EB3
triadic
#A65EC7 #C7A65E #5EC7A6
tetradic
#A65EC7 #C7725E #7FC75E #5EB3C7
square
#A65EC7 #C7725E #7FC75E #5EB3C7
split-complementary
#A65EC7 #B3C75E #5EC772
monochromatic
#652C7F #893CAC #A65EC7 #BF8BD7 #D8B9E7

Accessibility & contrast

On white

4.16
#A65EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#A65EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A65EC7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A65EC7#FFFFFF#000000##000000
##A65EC71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4578CB
Deuteranopia (green-blind)
#5C7EC4
Tritanopia (blue-blind)
#A36F8A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a65ec7;
/* rgb */ color: rgb(166, 94, 199);
/* oklch */ color: oklch(60.7% 0.168 314.1);
Tailwind
colors: {
  custom: {
    50: '#c38ed8',
    500: '#a65ec7',
    950: '#000000',
  },
}
SCSS
$custom: #a65ec7;
$custom-light: #c38ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#a65ec7",
  "rgb": {
    "r": 166,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 281.143,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60679,
    "c": 0.16775,
    "h": 314.1
  },
  "luminance": 0.20236
}

Semantic roles & 50–950 ramp

primary
#A65EC7
secondary
#B9D6AB
accent
#D8507B
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A65EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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