#A15CD7#A15CD7

#A15CD7 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.8% C 0.187 H 307.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A15CD7
RGBrgb(161, 92, 215)
HSLhsl(274, 61%, 60%)
HSVhsv(274, 57%, 84%)
CMYKcmyk(25.1%, 57.2%, 0%, 15.7%)
CIE-LABlab(51.99, 50.32, -52.49)
CIE-LCHlch(51.99, 72.71, 313.79°)
OKLaboklab(60.75% 0.1141 -0.1478)
OKLCHoklch(60.75% 0.187 307.7)
XYZxyz(30.7883, 20.1380, 66.5419)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15CD7 #92D75C
analogous
#645CD7 #A15CD7 #D75CCF
triadic
#A15CD7 #D7A15C #5CD7A1
tetradic
#A15CD7 #D7645C #92D75C #5CCFD7
square
#A15CD7 #D7645C #92D75C #5CCFD7
split-complementary
#A15CD7 #CFD75C #5CD764
monochromatic
#632494 #8430C5 #A15CD7 #BD8DE3 #DABEEF

Accessibility & contrast

On white

4.18
#A15CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A15CD7#FFFFFF#000000##000000
##A15CD71.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E79DB
Deuteranopia (green-blind)
#4A7DD4
Tritanopia (blue-blind)
#997391
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a15cd7;
/* rgb */ color: rgb(161, 92, 215);
/* oklch */ color: oklch(60.8% 0.187 307.7);
Tailwind
colors: {
  custom: {
    50: '#c08de4',
    500: '#a15cd7',
    950: '#000000',
  },
}
SCSS
$custom: #a15cd7;
$custom-light: #c08de4;
$custom-dark: #000000;
JSON
{
  "hex": "#a15cd7",
  "rgb": {
    "r": 161,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 273.659,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60752,
    "c": 0.1867,
    "h": 307.7
  },
  "luminance": 0.20138
}

Semantic roles & 50–950 ramp

primary
#A15CD7
secondary
#C5DFB0
accent
#C81D68
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A15CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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