#A65ECF#A65ECF

#A65ECF is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.1% C 0.176 H 311.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A65ECF
RGBrgb(166, 94, 207)
HSLhsl(278, 54%, 59%)
HSVhsv(278, 55%, 81%)
CMYKcmyk(19.8%, 54.6%, 0%, 18.8%)
CIE-LABlab(52.53, 48.75, -47.05)
CIE-LCHlch(52.53, 67.75, 316.02°)
OKLaboklab(61.13% 0.1174 -0.1318)
OKLCHoklch(61.13% 0.176 311.7)
XYZxyz(30.9891, 20.6181, 61.3666)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A65ECF #87CF5E
analogous
#6E5ECF #A65ECF #CF5EC0
triadic
#A65ECF #CFA65E #5ECFA6
tetradic
#A65ECF #CF6E5E #87CF5E #5EC0CF
square
#A65ECF #CF6E5E #87CF5E #5EC0CF
split-complementary
#A65ECF #C0CF5E #5ECF6E
monochromatic
#67298A #8A37B9 #A65ECF #C08DDD #DABCEB

Accessibility & contrast

On white

4.10
#A65ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#A65ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A65ECF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A65ECF#FFFFFF#000000##000000
##A65ECF1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7AD3
Deuteranopia (green-blind)
#567FCC
Tritanopia (blue-blind)
#A1718E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a65ecf;
/* rgb */ color: rgb(166, 94, 207);
/* oklch */ color: oklch(61.1% 0.176 311.7);
Tailwind
colors: {
  custom: {
    50: '#c38ede',
    500: '#a65ecf',
    950: '#000000',
  },
}
SCSS
$custom: #a65ecf;
$custom-light: #c38ede;
$custom-dark: #000000;
JSON
{
  "hex": "#a65ecf",
  "rgb": {
    "r": 166,
    "g": 94,
    "b": 207
  },
  "hsl": {
    "h": 278.23,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6113,
    "c": 0.17648,
    "h": 311.7
  },
  "luminance": 0.20617
}

Semantic roles & 50–950 ramp

primary
#A65ECF
secondary
#BEDBAE
accent
#DD4A80
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A65ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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