#A05CEC#A05CEC

#A05CEC is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 62.0% C 0.210 H 302.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A05CEC
RGBrgb(160, 92, 236)
HSLhsl(268, 79%, 64%)
HSVhsv(268, 61%, 93%)
CMYKcmyk(32.2%, 61%, 0%, 7.5%)
CIE-LABlab(53.15, 54.99, -62.49)
CIE-LCHlch(53.15, 83.24, 311.35°)
OKLaboklab(61.98% 0.1125 -0.1772)
OKLCHoklch(61.98% 0.21 302.4)
XYZxyz(33.4612, 21.1840, 81.6667)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A05CEC #A8EC5C
analogous
#5C60EC #A05CEC #E85CEC
triadic
#A05CEC #ECA05C #5CECA0
tetradic
#A05CEC #EC5C60 #A8EC5C #5CECE8
square
#A05CEC #EC5C60 #A8EC5C #5CECE8
split-complementary
#A05CEC #ECE85C #60EC5C
monochromatic
#6215B8 #8025E6 #A05CEC #C093F2 #E0CAF9

Accessibility & contrast

On white

4.01
#A05CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#A05CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A05CEC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A05CEC#FFFFFF#000000##000000
##A05CEC1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#307EE9
Tritanopia (blue-blind)
#917A9C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a05cec;
/* rgb */ color: rgb(160, 92, 236);
/* oklch */ color: oklch(62.0% 0.210 302.4);
Tailwind
colors: {
  custom: {
    50: '#c18df3',
    500: '#a05cec',
    950: '#000000',
  },
}
SCSS
$custom: #a05cec;
$custom-light: #c18df3;
$custom-dark: #000000;
JSON
{
  "hex": "#a05cec",
  "rgb": {
    "r": 160,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 268.333,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61978,
    "c": 0.20987,
    "h": 302.4
  },
  "luminance": 0.21184
}

Semantic roles & 50–950 ramp

primary
#A05CEC
secondary
#D3EBB9
accent
#DB0A79
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A05CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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