#A45EDB#A45EDB

#A45EDB is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.6% C 0.189 H 307.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A45EDB
RGBrgb(164, 94, 219)
HSLhsl(274, 63%, 61%)
HSVhsv(274, 57%, 86%)
CMYKcmyk(25.1%, 57.1%, 0%, 14.1%)
CIE-LABlab(52.96, 50.93, -53.19)
CIE-LCHlch(52.96, 73.64, 313.75°)
OKLaboklab(61.61% 0.1154 -0.1498)
OKLCHoklch(61.61% 0.189 307.6)
XYZxyz(32.0961, 21.0128, 69.3691)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45EDB #95DB5E
analogous
#665EDB #A45EDB #DB5ED4
triadic
#A45EDB #DBA45E #5EDBA4
tetradic
#A45EDB #DB665E #95DB5E #5ED4DB
square
#A45EDB #DB665E #95DB5E #5ED4DB
split-complementary
#A45EDB #D4DB5E #5EDB66
monochromatic
#67239C #872ECE #A45EDB #C090E6 #DDC2F1

Accessibility & contrast

On white

4.04
#A45EDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#A45EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45EDB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45EDB#FFFFFF#000000##000000
##A45EDB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CDF
Deuteranopia (green-blind)
#4B7FD8
Tritanopia (blue-blind)
#9C7694
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45edb;
/* rgb */ color: rgb(164, 94, 219);
/* oklch */ color: oklch(61.6% 0.189 307.6);
Tailwind
colors: {
  custom: {
    50: '#c28ee7',
    500: '#a45edb',
    950: '#000000',
  },
}
SCSS
$custom: #a45edb;
$custom-light: #c28ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#a45edb",
  "rgb": {
    "r": 164,
    "g": 94,
    "b": 219
  },
  "hsl": {
    "h": 273.6,
    "s": 63.452,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61614,
    "c": 0.18907,
    "h": 307.6
  },
  "luminance": 0.21012
}

Semantic roles & 50–950 ramp

primary
#A45EDB
secondary
#C8E2B3
accent
#CB1A68
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A45EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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