#A45FE6#A45FE6

#A45FE6 is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.4% C 0.200 H 304.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A45FE6
RGBrgb(164, 95, 230)
HSLhsl(271, 73%, 64%)
HSVhsv(271, 59%, 90%)
CMYKcmyk(28.7%, 58.7%, 0%, 9.8%)
CIE-LABlab(53.80, 52.95, -58.05)
CIE-LCHlch(53.80, 78.57, 312.37°)
OKLaboklab(62.44% 0.1142 -0.164)
OKLCHoklch(62.44% 0.2 304.8)
XYZxyz(33.6819, 21.7903, 77.2791)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FE6 #A1E65F
analogous
#605FE6 #A45FE6 #E65FE4
triadic
#A45FE6 #E6A45F #5FE6A4
tetradic
#A45FE6 #E6605F #A1E65F #5FE4E6
square
#A45FE6 #E6605F #A1E65F #5FE4E6
split-complementary
#A45FE6 #E4E65F #5FE660
monochromatic
#671BAF #862ADE #A45FE6 #C294EE #E0C9F7

Accessibility & contrast

On white

3.92
#A45FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#A45FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FE6
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FE6#FFFFFF#000000##000000
##A45FE61.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#217FEA
Deuteranopia (green-blind)
#4281E3
Tritanopia (blue-blind)
#987A9A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a45fe6;
/* rgb */ color: rgb(164, 95, 230);
/* oklch */ color: oklch(62.4% 0.200 304.8);
Tailwind
colors: {
  custom: {
    50: '#c38fef',
    500: '#a45fe6',
    950: '#000000',
  },
}
SCSS
$custom: #a45fe6;
$custom-light: #c38fef;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fe6",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 230
  },
  "hsl": {
    "h": 270.667,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62436,
    "c": 0.19987,
    "h": 304.8
  },
  "luminance": 0.2179
}

Semantic roles & 50–950 ramp

primary
#A45FE6
secondary
#D0E8B9
accent
#D51071
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A45FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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