#A45FE7#A45FE7

#A45FE7 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.5% C 0.201 H 304.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A45FE7
RGBrgb(164, 95, 231)
HSLhsl(270, 74%, 64%)
HSVhsv(270, 59%, 91%)
CMYKcmyk(29%, 58.9%, 0%, 9.4%)
CIE-LABlab(53.86, 53.18, -58.52)
CIE-LCHlch(53.86, 79.07, 312.27°)
OKLaboklab(62.5% 0.1142 -0.1654)
OKLCHoklch(62.5% 0.201 304.6)
XYZxyz(33.8227, 21.8466, 78.0208)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FE7 #A2E75F
analogous
#605FE7 #A45FE7 #E75FE6
triadic
#A45FE7 #E7A45F #5FE7A4
tetradic
#A45FE7 #E7605F #A2E75F #5FE6E7
square
#A45FE7 #E7605F #A2E75F #5FE6E7
split-complementary
#A45FE7 #E6E75F #5FE760
monochromatic
#671BB1 #862ADF #A45FE7 #C294EF #E1C9F7

Accessibility & contrast

On white

3.91
#A45FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#A45FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FE7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FE7#FFFFFF#000000##000000
##A45FE71.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E7FEB
Deuteranopia (green-blind)
#4181E4
Tritanopia (blue-blind)
#987A9A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a45fe7;
/* rgb */ color: rgb(164, 95, 231);
/* oklch */ color: oklch(62.5% 0.201 304.6);
Tailwind
colors: {
  custom: {
    50: '#c38fef',
    500: '#a45fe7',
    950: '#000000',
  },
}
SCSS
$custom: #a45fe7;
$custom-light: #c38fef;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fe7",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 270.441,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62499,
    "c": 0.20099,
    "h": 304.6
  },
  "luminance": 0.21846
}

Semantic roles & 50–950 ramp

primary
#A45FE7
secondary
#D1E9B9
accent
#D60F71
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A45FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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