#A45CEF#A45CEF

#A45CEF is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.6% C 0.214 H 303.3°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A45CEF
RGBrgb(164, 92, 239)
HSLhsl(269, 82%, 65%)
HSVhsv(269, 62%, 94%)
CMYKcmyk(31.4%, 61.5%, 0%, 6.3%)
CIE-LABlab(53.79, 56.58, -63.11)
CIE-LCHlch(53.79, 84.76, 311.87°)
OKLaboklab(62.6% 0.1175 -0.1789)
OKLCHoklch(62.6% 0.214 303.3)
XYZxyz(34.7134, 21.7788, 84.0196)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CEF #A7EF5C
analogous
#5C5DEF #A45CEF #EE5CEF
triadic
#A45CEF #EFA45C #5CEFA4
tetradic
#A45CEF #EF5C5D #A7EF5C #5CEFEE
square
#A45CEF #EF5C5D #A7EF5C #5CEFEE
split-complementary
#A45CEF #EFEE5C #5DEF5C
monochromatic
#6713BE #8524EA #A45CEF #C394F4 #E2CBFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A45CEF#FFFFFF#000000##000000
##A45CEF1.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)
#007FF4
Deuteranopia (green-blind)
#3280EC
Tritanopia (blue-blind)
#967B9D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a45cef;
/* rgb */ color: rgb(164, 92, 239);
/* oklch */ color: oklch(62.6% 0.214 303.3);
Tailwind
colors: {
  custom: {
    50: '#c38ef5',
    500: '#a45cef',
    950: '#000000',
  },
}
SCSS
$custom: #a45cef;
$custom-light: #c38ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#a45cef",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 269.388,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62604,
    "c": 0.21401,
    "h": 303.3
  },
  "luminance": 0.21779
}

Semantic roles & 50–950 ramp

primary
#A45CEF
secondary
#D4ECBA
accent
#DF0775
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A45CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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