#A15FDB#A15FDB

#A15FDB is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.4% C 0.187 H 306.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A15FDB
RGBrgb(161, 95, 219)
HSLhsl(272, 63%, 62%)
HSVhsv(272, 57%, 86%)
CMYKcmyk(26.5%, 56.6%, 0%, 14.1%)
CIE-LABlab(52.81, 49.67, -53.45)
CIE-LCHlch(52.81, 72.97, 312.90°)
OKLaboklab(61.43% 0.1104 -0.1506)
OKLCHoklch(61.43% 0.187 306.2)
XYZxyz(31.5736, 20.8762, 69.3703)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15FDB #99DB5F
analogous
#635FDB #A15FDB #DB5FD7
triadic
#A15FDB #DBA15F #5FDBA1
tetradic
#A15FDB #DB635F #99DB5F #5FD7DB
square
#A15FDB #DB635F #99DB5F #5FD7DB
split-complementary
#A15FDB #D7DB5F #5FDB63
monochromatic
#64239C #842ECE #A15FDB #BE91E6 #DCC3F1

Accessibility & contrast

On white

4.06
#A15FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#A15FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15FDB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15FDB#FFFFFF#000000##000000
##A15FDB1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CDF
Deuteranopia (green-blind)
#4A7ED8
Tritanopia (blue-blind)
#987794
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a15fdb;
/* rgb */ color: rgb(161, 95, 219);
/* oklch */ color: oklch(61.4% 0.187 306.2);
Tailwind
colors: {
  custom: {
    50: '#c08fe7',
    500: '#a15fdb',
    950: '#000000',
  },
}
SCSS
$custom: #a15fdb;
$custom-light: #c08fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#a15fdb",
  "rgb": {
    "r": 161,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 271.935,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61428,
    "c": 0.18673,
    "h": 306.2
  },
  "luminance": 0.20876
}

Semantic roles & 50–950 ramp

primary
#A15FDB
secondary
#C9E2B4
accent
#CB1A6D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A15FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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