#A151DC#A151DC

#A151DC is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.6% C 0.208 H 307.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A151DC
RGBrgb(161, 81, 220)
HSLhsl(275, 67%, 59%)
HSVhsv(275, 63%, 86%)
CMYKcmyk(26.8%, 63.2%, 0%, 13.7%)
CIE-LABlab(50.25, 56.96, -58.13)
CIE-LCHlch(50.25, 81.38, 314.42°)
OKLaboklab(59.58% 0.1272 -0.1643)
OKLCHoklch(59.58% 0.208 307.8)
XYZxyz(30.5560, 18.6296, 69.6825)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151DC #8CDC51
analogous
#5C51DC #A151DC #DC51D2
triadic
#A151DC #DCA151 #51DCA1
tetradic
#A151DC #DC5C51 #8CDC51 #51D2DC
square
#A151DC #DC5C51 #8CDC51 #51D2DC
split-complementary
#A151DC #D2DC51 #51DC5C
monochromatic
#621E95 #8428C8 #A151DC #BD84E6 #D8B7F0

Accessibility & contrast

On white

4.44
#A151DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#A151DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A151DC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151DC#FFFFFF#000000##000000
##A151DC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#3778D9
Tritanopia (blue-blind)
#986D8F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a151dc;
/* rgb */ color: rgb(161, 81, 220);
/* oklch */ color: oklch(59.6% 0.208 307.8);
Tailwind
colors: {
  custom: {
    50: '#c186e8',
    500: '#a151dc',
    950: '#000000',
  },
}
SCSS
$custom: #a151dc;
$custom-light: #c186e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a151dc",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 274.532,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59582,
    "c": 0.2078,
    "h": 307.8
  },
  "luminance": 0.18629
}

Semantic roles & 50–950 ramp

primary
#A151DC
secondary
#C0E0A9
accent
#E93E87
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A151DC

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

Preview Lab → · Contrast checker → · Palette generator →

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