#A45CCE#A45CCE

#A45CCE is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.6% C 0.178 H 311.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A45CCE
RGBrgb(164, 92, 206)
HSLhsl(278, 54%, 58%)
HSVhsv(278, 55%, 81%)
CMYKcmyk(20.4%, 55.3%, 0%, 19.2%)
CIE-LABlab(51.84, 49.05, -47.59)
CIE-LCHlch(51.84, 68.34, 315.87°)
OKLaboklab(60.56% 0.1175 -0.1334)
OKLCHoklch(60.56% 0.178 311.4)
XYZxyz(30.2755, 20.0037, 60.6468)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CCE #86CE5C
analogous
#6B5CCE #A45CCE #CE5CBF
triadic
#A45CCE #CEA45C #5CCEA4
tetradic
#A45CCE #CE6B5C #86CE5C #5CBFCE
square
#A45CCE #CE6B5C #86CE5C #5CBFCE
split-complementary
#A45CCE #BFCE5C #5CCE6B
monochromatic
#642987 #8737B6 #A45CCE #BE8BDC #D9BAEA

Accessibility & contrast

On white

4.20
#A45CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A45CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CCE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CCE#FFFFFF#000000##000000
##A45CCE1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A78D2
Deuteranopia (green-blind)
#547DCB
Tritanopia (blue-blind)
#9F708C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a45cce;
/* rgb */ color: rgb(164, 92, 206);
/* oklch */ color: oklch(60.6% 0.178 311.4);
Tailwind
colors: {
  custom: {
    50: '#c28ddd',
    500: '#a45cce',
    950: '#000000',
  },
}
SCSS
$custom: #a45cce;
$custom-light: #c28ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#a45cce",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 206
  },
  "hsl": {
    "h": 277.895,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60555,
    "c": 0.17775,
    "h": 311.4
  },
  "luminance": 0.20003
}

Semantic roles & 50–950 ramp

primary
#A45CCE
secondary
#BDDAAC
accent
#DD4B81
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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