#A55ECB#A55ECB

#A55ECB is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.8% C 0.172 H 312.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A55ECB
RGBrgb(165, 94, 203)
HSLhsl(279, 51%, 58%)
HSVhsv(279, 54%, 80%)
CMYKcmyk(18.7%, 53.7%, 0%, 20.4%)
CIE-LABlab(52.19, 47.61, -45.30)
CIE-LCHlch(52.19, 65.72, 316.42°)
OKLaboklab(60.79% 0.1159 -0.1267)
OKLCHoklch(60.79% 0.172 312.4)
XYZxyz(30.2974, 20.3173, 58.8139)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A55ECB #84CB5E
analogous
#6E5ECB #A55ECB #CB5EBA
triadic
#A55ECB #CBA55E #5ECBA5
tetradic
#A55ECB #CB6E5E #84CB5E #5EBACB
square
#A55ECB #CB6E5E #84CB5E #5EBACB
split-complementary
#A55ECB #BACB5E #5ECB6E
monochromatic
#652B84 #883AB2 #A55ECB #BF8CDA #D9BBE9

Accessibility & contrast

On white

4.15
#A55ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A55ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A55ECB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A55ECB#FFFFFF#000000##000000
##A55ECB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4179CF
Deuteranopia (green-blind)
#587EC8
Tritanopia (blue-blind)
#A1708C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a55ecb;
/* rgb */ color: rgb(165, 94, 203);
/* oklch */ color: oklch(60.8% 0.172 312.4);
Tailwind
colors: {
  custom: {
    50: '#c28edb',
    500: '#a55ecb',
    950: '#000000',
  },
}
SCSS
$custom: #a55ecb;
$custom-light: #c28edb;
$custom-dark: #000000;
JSON
{
  "hex": "#a55ecb",
  "rgb": {
    "r": 165,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 279.083,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60788,
    "c": 0.17171,
    "h": 312.4
  },
  "luminance": 0.20317
}

Semantic roles & 50–950 ramp

primary
#A55ECB
secondary
#BCD8AD
accent
#DB4D7E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A55ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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