#A15BDB#A15BDB

#A15BDB is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.9% C 0.193 H 306.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A15BDB
RGBrgb(161, 91, 219)
HSLhsl(273, 64%, 61%)
HSVhsv(273, 58%, 86%)
CMYKcmyk(26.5%, 58.4%, 0%, 14.1%)
CIE-LABlab(52.03, 51.75, -54.70)
CIE-LCHlch(52.03, 75.30, 313.41°)
OKLaboklab(60.86% 0.1153 -0.1543)
OKLCHoklch(60.86% 0.193 306.8)
XYZxyz(31.2225, 20.1740, 69.2532)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15BDB #95DB5B
analogous
#615BDB #A15BDB #DB5BD5
triadic
#A15BDB #DBA15B #5BDBA1
tetradic
#A15BDB #DB615B #95DB5B #5BD5DB
square
#A15BDB #DB615B #95DB5B #5BD5DB
split-complementary
#A15BDB #D5DB5B #5BDB61
monochromatic
#63229A #842DCC #A15BDB #BE8DE6 #DBBFF1

Accessibility & contrast

On white

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

On black

5.03
#A15BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15BDB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15BDB#FFFFFF#000000##000000
##A15BDB1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#267ADF
Deuteranopia (green-blind)
#457DD8
Tritanopia (blue-blind)
#987492
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a15bdb;
/* rgb */ color: rgb(161, 91, 219);
/* oklch */ color: oklch(60.9% 0.193 306.8);
Tailwind
colors: {
  custom: {
    50: '#c08ce7',
    500: '#a15bdb',
    950: '#000000',
  },
}
SCSS
$custom: #a15bdb;
$custom-light: #c08ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#a15bdb",
  "rgb": {
    "r": 161,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 272.813,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60857,
    "c": 0.19263,
    "h": 306.8
  },
  "luminance": 0.20174
}

Semantic roles & 50–950 ramp

primary
#A15BDB
secondary
#C7E1B1
accent
#CC1A6A
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A15BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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