#A15CE3#A15CE3

#A15CE3 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.5% C 0.200 H 304.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A15CE3
RGBrgb(161, 92, 227)
HSLhsl(271, 71%, 63%)
HSVhsv(271, 59%, 89%)
CMYKcmyk(29.1%, 59.5%, 0%, 11%)
CIE-LABlab(52.71, 53.09, -58.14)
CIE-LCHlch(52.71, 78.73, 312.40°)
OKLaboklab(61.5% 0.1141 -0.1644)
OKLCHoklch(61.5% 0.2 304.8)
XYZxyz(32.3872, 20.7776, 74.9624)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15CE3 #9EE35C
analogous
#5E5CE3 #A15CE3 #E35CE1
triadic
#A15CE3 #E3A15C #5CE3A1
tetradic
#A15CE3 #E35E5C #9EE35C #5CE1E3
square
#A15CE3 #E35E5C #9EE35C #5CE1E3
split-complementary
#A15CE3 #E1E35C #5CE35E
monochromatic
#641DA8 #8328DA #A15CE3 #BF90EC #DDC4F5

Accessibility & contrast

On white

4.07
#A15CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#A15CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15CE3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15CE3#FFFFFF#000000##000000
##A15CE31.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#197CE7
Deuteranopia (green-blind)
#3E7EE0
Tritanopia (blue-blind)
#957797
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a15ce3;
/* rgb */ color: rgb(161, 92, 227);
/* oklch */ color: oklch(61.5% 0.200 304.8);
Tailwind
colors: {
  custom: {
    50: '#c18dec',
    500: '#a15ce3',
    950: '#000000',
  },
}
SCSS
$custom: #a15ce3;
$custom-light: #c18dec;
$custom-dark: #000000;
JSON
{
  "hex": "#a15ce3",
  "rgb": {
    "r": 161,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 270.667,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61501,
    "c": 0.20008,
    "h": 304.8
  },
  "luminance": 0.20777
}

Semantic roles & 50–950 ramp

primary
#A15CE3
secondary
#CDE6B5
accent
#D31371
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A15CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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