#A45CE7#A45CE7

#A45CE7 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.1% C 0.205 H 305.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A45CE7
RGBrgb(164, 92, 231)
HSLhsl(271, 74%, 63%)
HSVhsv(271, 60%, 91%)
CMYKcmyk(29%, 60.2%, 0%, 9.4%)
CIE-LABlab(53.29, 54.71, -59.43)
CIE-LCHlch(53.29, 80.78, 312.63°)
OKLaboklab(62.08% 0.1178 -0.1681)
OKLCHoklch(62.08% 0.205 305)
XYZxyz(33.5576, 21.3165, 77.9324)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CE7 #9FE75C
analogous
#5E5CE7 #A45CE7 #E75CE5
triadic
#A45CE7 #E7A45C #5CE7A4
tetradic
#A45CE7 #E75E5C #9FE75C #5CE5E7
square
#A45CE7 #E75E5C #9FE75C #5CE5E7
split-complementary
#A45CE7 #E5E75C #5CE75E
monochromatic
#671AAF #8627DF #A45CE7 #C291EF #E0C7F7

Accessibility & contrast

On white

3.99
#A45CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#A45CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CE7
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CE7#FFFFFF#000000##000000
##A45CE71.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#117DEB
Deuteranopia (green-blind)
#3D7FE4
Tritanopia (blue-blind)
#987899
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a45ce7;
/* rgb */ color: rgb(164, 92, 231);
/* oklch */ color: oklch(62.1% 0.205 305.0);
Tailwind
colors: {
  custom: {
    50: '#c38def',
    500: '#a45ce7',
    950: '#000000',
  },
}
SCSS
$custom: #a45ce7;
$custom-light: #c38def;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ce7",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 271.079,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62084,
    "c": 0.20523,
    "h": 305
  },
  "luminance": 0.21316
}

Semantic roles & 50–950 ramp

primary
#A45CE7
secondary
#CFE8B7
accent
#D60F6F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A45CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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