#A151D7#A151D7

#A151D7 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.3% C 0.203 H 309.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A151D7
RGBrgb(161, 81, 215)
HSLhsl(276, 63%, 58%)
HSVhsv(276, 62%, 84%)
CMYKcmyk(25.1%, 62.3%, 0%, 15.7%)
CIE-LABlab(49.94, 55.84, -55.78)
CIE-LCHlch(49.94, 78.93, 315.03°)
OKLaboklab(59.26% 0.1275 -0.1574)
OKLCHoklch(59.26% 0.203 309)
XYZxyz(29.9037, 18.3687, 66.2470)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151D7 #87D751
analogous
#5E51D7 #A151D7 #D751CA
triadic
#A151D7 #D7A151 #51D7A1
tetradic
#A151D7 #D75E51 #87D751 #51CAD7
square
#A151D7 #D75E51 #87D751 #51CAD7
split-complementary
#A151D7 #CAD751 #51D75E
monochromatic
#61208D #842CBF #A151D7 #BC83E2 #D7B5EE

Accessibility & contrast

On white

4.49
#A151D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#A151D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A151D7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151D7#FFFFFF#000000##000000
##A151D71.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0573DB
Deuteranopia (green-blind)
#3D78D4
Tritanopia (blue-blind)
#996C8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a151d7;
/* rgb */ color: rgb(161, 81, 215);
/* oklch */ color: oklch(59.3% 0.203 309.0);
Tailwind
colors: {
  custom: {
    50: '#c186e4',
    500: '#a151d7',
    950: '#000000',
  },
}
SCSS
$custom: #a151d7;
$custom-light: #c186e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a151d7",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 275.821,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59257,
    "c": 0.20255,
    "h": 309
  },
  "luminance": 0.18368
}

Semantic roles & 50–950 ramp

primary
#A151D7
secondary
#BDDDA7
accent
#E64284
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A151D7

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

Preview Lab → · Contrast checker → · Palette generator →

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