#A15CD9#A15CD9

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

Color values

HEX#A15CD9
RGBrgb(161, 92, 217)
HSLhsl(273, 62%, 61%)
HSVhsv(273, 58%, 85%)
CMYKcmyk(25.8%, 57.6%, 0%, 14.9%)
CIE-LABlab(52.11, 50.77, -53.44)
CIE-LCHlch(52.11, 73.72, 313.53°)
OKLaboklab(60.87% 0.1141 -0.1506)
OKLCHoklch(60.87% 0.189 307.1)
XYZxyz(31.0469, 20.2415, 67.9036)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15CD9 #94D95C
analogous
#625CD9 #A15CD9 #D95CD2
triadic
#A15CD9 #D9A15C #5CD9A1
tetradic
#A15CD9 #D9625C #94D95C #5CD2D9
square
#A15CD9 #D9625C #94D95C #5CD2D9
split-complementary
#A15CD9 #D2D95C #5CD962
monochromatic
#632397 #842FC9 #A15CD9 #BE8EE5 #DABFF0

Accessibility & contrast

On white

4.16
#A15CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#A15CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15CD9
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15CD9#FFFFFF#000000##000000
##A15CD91.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7ADD
Deuteranopia (green-blind)
#487DD6
Tritanopia (blue-blind)
#987492
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a15cd9;
/* rgb */ color: rgb(161, 92, 217);
/* oklch */ color: oklch(60.9% 0.189 307.1);
Tailwind
colors: {
  custom: {
    50: '#c08de5',
    500: '#a15cd9',
    950: '#000000',
  },
}
SCSS
$custom: #a15cd9;
$custom-light: #c08de5;
$custom-dark: #000000;
JSON
{
  "hex": "#a15cd9",
  "rgb": {
    "r": 161,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 273.12,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60874,
    "c": 0.18894,
    "h": 307.1
  },
  "luminance": 0.20241
}

Semantic roles & 50–950 ramp

primary
#A15CD9
secondary
#C6E0B1
accent
#CA1C6A
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A15CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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