#A151CF#A151CF

#A151CF is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.8% C 0.194 H 311.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A151CF
RGBrgb(161, 81, 207)
HSLhsl(278, 57%, 56%)
HSVhsv(278, 61%, 81%)
CMYKcmyk(22.2%, 60.9%, 0%, 18.8%)
CIE-LABlab(49.46, 54.08, -51.99)
CIE-LCHlch(49.46, 75.02, 316.13°)
OKLaboklab(58.75% 0.1277 -0.1463)
OKLCHoklch(58.75% 0.194 311.1)
XYZxyz(28.9008, 17.9676, 60.9650)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151CF #7FCF51
analogous
#6251CF #A151CF #CF51BE
triadic
#A151CF #CFA151 #51CFA1
tetradic
#A151CF #CF6251 #7FCF51 #51BECF
square
#A151CF #CF6251 #7FCF51 #51BECF
split-complementary
#A151CF #BECF51 #51CF62
monochromatic
#5F2482 #8331B2 #A151CF #BB81DC #D5B1E9

Accessibility & contrast

On white

4.57
#A151CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A151CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A151CF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151CF#FFFFFF#000000##000000
##A151CF1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E72D3
Deuteranopia (green-blind)
#4577CC
Tritanopia (blue-blind)
#9B6989
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a151cf;
/* rgb */ color: rgb(161, 81, 207);
/* oklch */ color: oklch(58.8% 0.194 311.1);
Tailwind
colors: {
  custom: {
    50: '#c086de',
    500: '#a151cf',
    950: '#000000',
  },
}
SCSS
$custom: #a151cf;
$custom-light: #c086de;
$custom-dark: #000000;
JSON
{
  "hex": "#a151cf",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 278.095,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58752,
    "c": 0.19417,
    "h": 311.1
  },
  "luminance": 0.17967
}

Semantic roles & 50–950 ramp

primary
#A151CF
secondary
#B7D8A4
accent
#E0487F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A151CF

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

Preview Lab → · Contrast checker → · Palette generator →

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