#A151E7#A151E7

#A151E7 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.3% C 0.219 H 305.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A151E7
RGBrgb(161, 81, 231)
HSLhsl(272, 76%, 61%)
HSVhsv(272, 65%, 91%)
CMYKcmyk(30.3%, 64.9%, 0%, 9.4%)
CIE-LABlab(50.96, 59.45, -63.21)
CIE-LCHlch(50.96, 86.77, 313.24°)
OKLaboklab(60.32% 0.1265 -0.1792)
OKLCHoklch(60.32% 0.219 305.2)
XYZxyz(32.0610, 19.2317, 77.6089)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151E7 #97E751
analogous
#5651E7 #A151E7 #E751E2
triadic
#A151E7 #E7A151 #51E7A1
tetradic
#A151E7 #E75651 #97E751 #51E2E7
square
#A151E7 #E75651 #97E751 #51E2E7
split-complementary
#A151E7 #E2E751 #51E756
monochromatic
#6417A7 #841EDC #A151E7 #BE87EE #DBBDF6

Accessibility & contrast

On white

4.33
#A151E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#A151E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A151E7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151E7#FFFFFF#000000##000000
##A151E71.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#267AE4
Tritanopia (blue-blind)
#947195
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a151e7;
/* rgb */ color: rgb(161, 81, 231);
/* oklch */ color: oklch(60.3% 0.219 305.2);
Tailwind
colors: {
  custom: {
    50: '#c287ef',
    500: '#a151e7',
    950: '#000000',
  },
}
SCSS
$custom: #a151e7;
$custom-light: #c287ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a151e7",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 272,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60316,
    "c": 0.21936,
    "h": 305.2
  },
  "luminance": 0.19231
}

Semantic roles & 50–950 ramp

primary
#A151E7
secondary
#C8E6AE
accent
#D80E6C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A151E7

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

Preview Lab → · Contrast checker → · Palette generator →

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