#A45CD8#A45CD8

#A45CD8 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 61.1% C 0.189 H 308.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A45CD8
RGBrgb(164, 92, 216)
HSLhsl(275, 61%, 60%)
HSVhsv(275, 57%, 85%)
CMYKcmyk(24.1%, 57.4%, 0%, 15.3%)
CIE-LABlab(52.40, 51.28, -52.39)
CIE-LCHlch(52.40, 73.31, 314.39°)
OKLaboklab(61.15% 0.1178 -0.1474)
OKLCHoklch(61.15% 0.189 308.6)
XYZxyz(31.5292, 20.5052, 67.2494)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CD8 #90D85C
analogous
#665CD8 #A45CD8 #D85CCE
triadic
#A45CD8 #D8A45C #5CD8A4
tetradic
#A45CD8 #D8665C #90D85C #5CCED8
square
#A45CD8 #D8665C #90D85C #5CCED8
split-complementary
#A45CD8 #CED85C #5CD866
monochromatic
#662496 #8830C7 #A45CD8 #C08DE4 #DBBFF0

Accessibility & contrast

On white

4.12
#A45CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#A45CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CD8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CD8#FFFFFF#000000##000000
##A45CD81.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7ADC
Deuteranopia (green-blind)
#4C7ED5
Tritanopia (blue-blind)
#9D7391
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a45cd8;
/* rgb */ color: rgb(164, 92, 216);
/* oklch */ color: oklch(61.1% 0.189 308.6);
Tailwind
colors: {
  custom: {
    50: '#c28de5',
    500: '#a45cd8',
    950: '#000000',
  },
}
SCSS
$custom: #a45cd8;
$custom-light: #c28de5;
$custom-dark: #000000;
JSON
{
  "hex": "#a45cd8",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 274.839,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61149,
    "c": 0.18873,
    "h": 308.6
  },
  "luminance": 0.20505
}

Semantic roles & 50–950 ramp

primary
#A45CD8
secondary
#C4E0B0
accent
#C91C65
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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