#A15CD8#A15CD8

#A15CD8 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.8% C 0.188 H 307.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A15CD8
RGBrgb(161, 92, 216)
HSLhsl(273, 61%, 60%)
HSVhsv(273, 57%, 85%)
CMYKcmyk(25.5%, 57.4%, 0%, 15.3%)
CIE-LABlab(52.05, 50.54, -52.97)
CIE-LCHlch(52.05, 73.22, 313.66°)
OKLaboklab(60.81% 0.1141 -0.1492)
OKLCHoklch(60.81% 0.188 307.4)
XYZxyz(30.9172, 20.1896, 67.2207)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15CD8 #93D85C
analogous
#635CD8 #A15CD8 #D85CD1
triadic
#A15CD8 #D8A15C #5CD8A1
tetradic
#A15CD8 #D8635C #93D85C #5CD1D8
square
#A15CD8 #D8635C #93D85C #5CD1D8
split-complementary
#A15CD8 #D1D85C #5CD863
monochromatic
#632496 #8430C7 #A15CD8 #BD8DE4 #DABFF0

Accessibility & contrast

On white

4.17
#A15CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#A15CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15CD8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15CD8#FFFFFF#000000##000000
##A15CD81.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7ADC
Deuteranopia (green-blind)
#497DD5
Tritanopia (blue-blind)
#997391
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a15cd8;
/* rgb */ color: rgb(161, 92, 216);
/* oklch */ color: oklch(60.8% 0.188 307.4);
Tailwind
colors: {
  custom: {
    50: '#c08de5',
    500: '#a15cd8',
    950: '#000000',
  },
}
SCSS
$custom: #a15cd8;
$custom-light: #c08de5;
$custom-dark: #000000;
JSON
{
  "hex": "#a15cd8",
  "rgb": {
    "r": 161,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 273.387,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60813,
    "c": 0.18782,
    "h": 307.4
  },
  "luminance": 0.20189
}

Semantic roles & 50–950 ramp

primary
#A15CD8
secondary
#C5E0B0
accent
#C91C69
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A15CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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