#A55ECC#A55ECC

#A55ECC is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.8% C 0.173 H 312.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A55ECC
RGBrgb(165, 94, 204)
HSLhsl(279, 52%, 58%)
HSVhsv(279, 54%, 80%)
CMYKcmyk(19.1%, 53.9%, 0%, 20%)
CIE-LABlab(52.25, 47.83, -45.79)
CIE-LCHlch(52.25, 66.22, 316.25°)
OKLaboklab(60.85% 0.116 -0.1281)
OKLCHoklch(60.85% 0.173 312.1)
XYZxyz(30.4169, 20.3651, 59.4436)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A55ECC #85CC5E
analogous
#6E5ECC #A55ECC #CC5EBC
triadic
#A55ECC #CCA55E #5ECCA5
tetradic
#A55ECC #CC6E5E #85CC5E #5EBCCC
square
#A55ECC #CC6E5E #85CC5E #5EBCCC
split-complementary
#A55ECC #BCCC5E #5ECC6E
monochromatic
#652A85 #8839B4 #A55ECC #BF8CDB #D9BBE9

Accessibility & contrast

On white

4.14
#A55ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A55ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A55ECC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A55ECC#FFFFFF#000000##000000
##A55ECC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4079D0
Deuteranopia (green-blind)
#587EC9
Tritanopia (blue-blind)
#A1718C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a55ecc;
/* rgb */ color: rgb(165, 94, 204);
/* oklch */ color: oklch(60.8% 0.173 312.1);
Tailwind
colors: {
  custom: {
    50: '#c28edc',
    500: '#a55ecc',
    950: '#000000',
  },
}
SCSS
$custom: #a55ecc;
$custom-light: #c28edc;
$custom-dark: #000000;
JSON
{
  "hex": "#a55ecc",
  "rgb": {
    "r": 165,
    "g": 94,
    "b": 204
  },
  "hsl": {
    "h": 278.727,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60845,
    "c": 0.17281,
    "h": 312.1
  },
  "luminance": 0.20364
}

Semantic roles & 50–950 ramp

primary
#A55ECC
secondary
#BDD9AD
accent
#DB4C7F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A55ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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