#A65ECB#A65ECB

#A65ECB is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.9% C 0.172 H 312.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A65ECB
RGBrgb(166, 94, 203)
HSLhsl(280, 51%, 58%)
HSVhsv(280, 54%, 80%)
CMYKcmyk(18.2%, 53.7%, 0%, 20.4%)
CIE-LABlab(52.31, 47.88, -45.11)
CIE-LCHlch(52.31, 65.78, 316.71°)
OKLaboklab(60.9% 0.1171 -0.1261)
OKLCHoklch(60.9% 0.172 312.9)
XYZxyz(30.5062, 20.4249, 58.8237)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A65ECB #83CB5E
analogous
#6F5ECB #A65ECB #CB5EB9
triadic
#A65ECB #CBA65E #5ECBA6
tetradic
#A65ECB #CB6F5E #83CB5E #5EB9CB
square
#A65ECB #CB6F5E #83CB5E #5EB9CB
split-complementary
#A65ECB #B9CB5E #5ECB6F
monochromatic
#662B84 #893AB2 #A65ECB #C08CDA #D9BBE9

Accessibility & contrast

On white

4.13
#A65ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A65ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A65ECB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A65ECB#FFFFFF#000000##000000
##A65ECB1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a65ecb;
/* rgb */ color: rgb(166, 94, 203);
/* oklch */ color: oklch(60.9% 0.172 312.9);
Tailwind
colors: {
  custom: {
    50: '#c38edb',
    500: '#a65ecb',
    950: '#000000',
  },
}
SCSS
$custom: #a65ecb;
$custom-light: #c38edb;
$custom-dark: #000000;
JSON
{
  "hex": "#a65ecb",
  "rgb": {
    "r": 166,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 279.633,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60903,
    "c": 0.17211,
    "h": 312.9
  },
  "luminance": 0.20424
}

Semantic roles & 50–950 ramp

primary
#A65ECB
secondary
#BBD8AD
accent
#DB4D7D
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A65ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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