#A151DE#A151DE

#A151DE is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.7% C 0.210 H 307.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A151DE
RGBrgb(161, 81, 222)
HSLhsl(274, 68%, 59%)
HSVhsv(274, 64%, 87%)
CMYKcmyk(27.5%, 63.5%, 0%, 12.9%)
CIE-LABlab(50.38, 57.41, -59.06)
CIE-LCHlch(50.38, 82.36, 314.19°)
OKLaboklab(59.71% 0.1271 -0.167)
OKLCHoklch(59.71% 0.21 307.3)
XYZxyz(30.8224, 18.7362, 71.0858)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151DE #8EDE51
analogous
#5B51DE #A151DE #DE51D4
triadic
#A151DE #DEA151 #51DEA1
tetradic
#A151DE #DE5B51 #8EDE51 #51D4DE
square
#A151DE #DE5B51 #8EDE51 #51D4DE
split-complementary
#A151DE #D4DE51 #51DE5B
monochromatic
#631D98 #8427CB #A151DE #BD84E8 #D9B8F2

Accessibility & contrast

On white

4.42
#A151DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A151DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A151DE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151DE#FFFFFF#000000##000000
##A151DE1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E2
Deuteranopia (green-blind)
#3579DB
Tritanopia (blue-blind)
#976E90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a151de;
/* rgb */ color: rgb(161, 81, 222);
/* oklch */ color: oklch(59.7% 0.210 307.3);
Tailwind
colors: {
  custom: {
    50: '#c186e9',
    500: '#a151de',
    950: '#000000',
  },
}
SCSS
$custom: #a151de;
$custom-light: #c186e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a151de",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 274.043,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59713,
    "c": 0.20991,
    "h": 307.3
  },
  "luminance": 0.18736
}

Semantic roles & 50–950 ramp

primary
#A151DE
secondary
#C2E1AA
accent
#EB3D88
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A151DE

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

Preview Lab → · Contrast checker → · Palette generator →

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