#A45CE2#A45CE2

#A45CE2 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.8% C 0.200 H 306.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A45CE2
RGBrgb(164, 92, 226)
HSLhsl(272, 70%, 62%)
HSVhsv(272, 59%, 89%)
CMYKcmyk(27.4%, 59.3%, 0%, 11.4%)
CIE-LABlab(52.99, 53.55, -57.10)
CIE-LCHlch(52.99, 78.29, 313.16°)
OKLaboklab(61.77% 0.1179 -0.1612)
OKLCHoklch(61.77% 0.2 306.2)
XYZxyz(32.8615, 21.0381, 74.2663)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CE2 #9AE25C
analogous
#615CE2 #A45CE2 #E25CDD
triadic
#A45CE2 #E2A45C #5CE2A4
tetradic
#A45CE2 #E2615C #9AE25C #5CDDE2
square
#A45CE2 #E2615C #9AE25C #5CDDE2
split-complementary
#A45CE2 #DDE25C #5CE261
monochromatic
#671EA6 #8728D9 #A45CE2 #C190EB #DEC4F4

Accessibility & contrast

On white

4.03
#A45CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#A45CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CE2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CE2#FFFFFF#000000##000000
##A45CE21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7CE6
Deuteranopia (green-blind)
#427FDF
Tritanopia (blue-blind)
#9A7696
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45ce2;
/* rgb */ color: rgb(164, 92, 226);
/* oklch */ color: oklch(61.8% 0.200 306.2);
Tailwind
colors: {
  custom: {
    50: '#c38dec',
    500: '#a45ce2',
    950: '#000000',
  },
}
SCSS
$custom: #a45ce2;
$custom-light: #c38dec;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ce2",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 272.239,
    "s": 69.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61766,
    "c": 0.19973,
    "h": 306.2
  },
  "luminance": 0.21038
}

Semantic roles & 50–950 ramp

primary
#A45CE2
secondary
#CBE5B4
accent
#D2146C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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