#A45ECB#A45ECB

#A45ECB is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.7% C 0.171 H 312.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A45ECB
RGBrgb(164, 94, 203)
HSLhsl(279, 51%, 58%)
HSVhsv(279, 54%, 80%)
CMYKcmyk(19.2%, 53.7%, 0%, 20.4%)
CIE-LABlab(52.07, 47.35, -45.50)
CIE-LCHlch(52.07, 65.67, 316.14°)
OKLaboklab(60.67% 0.1147 -0.1273)
OKLCHoklch(60.67% 0.171 312)
XYZxyz(30.0901, 20.2104, 58.8042)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45ECB #85CB5E
analogous
#6D5ECB #A45ECB #CB5EBB
triadic
#A45ECB #CBA45E #5ECBA4
tetradic
#A45ECB #CB6D5E #85CB5E #5EBBCB
square
#A45ECB #CB6D5E #85CB5E #5EBBCB
split-complementary
#A45ECB #BBCB5E #5ECB6D
monochromatic
#642B84 #873AB2 #A45ECB #BE8CDA #D8BBE9

Accessibility & contrast

On white

4.17
#A45ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#A45ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45ECB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45ECB#FFFFFF#000000##000000
##A45ECB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a45ecb;
/* rgb */ color: rgb(164, 94, 203);
/* oklch */ color: oklch(60.7% 0.171 312.0);
Tailwind
colors: {
  custom: {
    50: '#c18edb',
    500: '#a45ecb',
    950: '#000000',
  },
}
SCSS
$custom: #a45ecb;
$custom-light: #c18edb;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ecb",
  "rgb": {
    "r": 164,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 278.532,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60673,
    "c": 0.17133,
    "h": 312
  },
  "luminance": 0.2021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A45ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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