#A65ECC#A65ECC

#A65ECC is a mid, vivid violet. Relative luminance 0.205; OKLCH L 61.0% C 0.173 H 312.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A65ECC
RGBrgb(166, 94, 204)
HSLhsl(279, 52%, 58%)
HSVhsv(279, 54%, 80%)
CMYKcmyk(18.6%, 53.9%, 0%, 20%)
CIE-LABlab(52.37, 48.10, -45.59)
CIE-LCHlch(52.37, 66.27, 316.53°)
OKLaboklab(60.96% 0.1172 -0.1275)
OKLCHoklch(60.96% 0.173 312.6)
XYZxyz(30.6258, 20.4728, 59.4534)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A65ECC #84CC5E
analogous
#6F5ECC #A65ECC #CC5EBB
triadic
#A65ECC #CCA65E #5ECCA6
tetradic
#A65ECC #CC6F5E #84CC5E #5EBBCC
square
#A65ECC #CC6F5E #84CC5E #5EBBCC
split-complementary
#A65ECC #BBCC5E #5ECC6F
monochromatic
#662A85 #8939B4 #A65ECC #C08CDB #D9BBE9

Accessibility & contrast

On white

4.12
#A65ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#A65ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A65ECC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A65ECC#FFFFFF#000000##000000
##A65ECC1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4179D0
Deuteranopia (green-blind)
#597FC9
Tritanopia (blue-blind)
#A2708C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a65ecc;
/* rgb */ color: rgb(166, 94, 204);
/* oklch */ color: oklch(61.0% 0.173 312.6);
Tailwind
colors: {
  custom: {
    50: '#c38edc',
    500: '#a65ecc',
    950: '#000000',
  },
}
SCSS
$custom: #a65ecc;
$custom-light: #c38edc;
$custom-dark: #000000;
JSON
{
  "hex": "#a65ecc",
  "rgb": {
    "r": 166,
    "g": 94,
    "b": 204
  },
  "hsl": {
    "h": 279.273,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60959,
    "c": 0.1732,
    "h": 312.6
  },
  "luminance": 0.20472
}

Semantic roles & 50–950 ramp

primary
#A65ECC
secondary
#BCD9AD
accent
#DB4C7E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A65ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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