#A45CD7#A45CD7

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

Color values

HEX#A45CD7
RGBrgb(164, 92, 215)
HSLhsl(275, 61%, 60%)
HSVhsv(275, 57%, 84%)
CMYKcmyk(23.7%, 57.2%, 0%, 15.7%)
CIE-LABlab(52.35, 51.05, -51.91)
CIE-LCHlch(52.35, 72.81, 314.52°)
OKLaboklab(61.09% 0.1178 -0.146)
OKLCHoklch(61.09% 0.188 308.9)
XYZxyz(31.4003, 20.4536, 66.5706)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CD7 #8FD75C
analogous
#665CD7 #A45CD7 #D75CCC
triadic
#A45CD7 #D7A45C #5CD7A4
tetradic
#A45CD7 #D7665C #8FD75C #5CCCD7
square
#A45CD7 #D7665C #8FD75C #5CCCD7
split-complementary
#A45CD7 #CCD75C #5CD766
monochromatic
#662494 #8830C5 #A45CD7 #BF8DE3 #DBBEEF

Accessibility & contrast

On white

4.13
#A45CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#A45CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CD7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CD7#FFFFFF#000000##000000
##A45CD71.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#307ADB
Deuteranopia (green-blind)
#4D7ED4
Tritanopia (blue-blind)
#9D7391
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a45cd7;
/* rgb */ color: rgb(164, 92, 215);
/* oklch */ color: oklch(61.1% 0.188 308.9);
Tailwind
colors: {
  custom: {
    50: '#c28de4',
    500: '#a45cd7',
    950: '#000000',
  },
}
SCSS
$custom: #a45cd7;
$custom-light: #c28de4;
$custom-dark: #000000;
JSON
{
  "hex": "#a45cd7",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 275.122,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61088,
    "c": 0.18763,
    "h": 308.9
  },
  "luminance": 0.20453
}

Semantic roles & 50–950 ramp

primary
#A45CD7
secondary
#C3DFB0
accent
#C81D64
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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