#A151D3#A151D3

#A151D3 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 59.0% C 0.198 H 310.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#A151D3
RGBrgb(161, 81, 211)
HSLhsl(277, 60%, 57%)
HSVhsv(277, 62%, 83%)
CMYKcmyk(23.7%, 61.6%, 0%, 17.3%)
CIE-LABlab(49.70, 54.96, -53.89)
CIE-LCHlch(49.70, 76.97, 315.56°)
OKLaboklab(59% 0.1276 -0.1519)
OKLCHoklch(59% 0.198 310)
XYZxyz(29.3960, 18.1657, 63.5731)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151D3 #83D351
analogous
#6051D3 #A151D3 #D351C4
triadic
#A151D3 #D3A151 #51D3A1
tetradic
#A151D3 #D36051 #83D351 #51C4D3
square
#A151D3 #D36051 #83D351 #51C4D3
split-complementary
#A151D3 #C4D351 #51D360
monochromatic
#602287 #832FB8 #A151D3 #BB82DF #D6B3EC

Accessibility & contrast

On white

4.53
#A151D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#A151D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A151D3
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151D3#FFFFFF#000000##000000
##A151D31.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1573D7
Deuteranopia (green-blind)
#4177D0
Tritanopia (blue-blind)
#9A6A8B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a151d3;
/* rgb */ color: rgb(161, 81, 211);
/* oklch */ color: oklch(59.0% 0.198 310.0);
Tailwind
colors: {
  custom: {
    50: '#c086e1',
    500: '#a151d3',
    950: '#000000',
  },
}
SCSS
$custom: #a151d3;
$custom-light: #c086e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a151d3",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 211
  },
  "hsl": {
    "h": 276.923,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59003,
    "c": 0.19836,
    "h": 310
  },
  "luminance": 0.18165
}

Semantic roles & 50–950 ramp

primary
#A151D3
secondary
#BADAA6
accent
#E34582
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A151D3

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

Preview Lab → · Contrast checker → · Palette generator →

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