#A151CA#A151CA

#A151CA is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.4% C 0.189 H 312.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A151CA
RGBrgb(161, 81, 202)
HSLhsl(280, 53%, 55%)
HSVhsv(280, 60%, 79%)
CMYKcmyk(20.3%, 59.9%, 0%, 20.8%)
CIE-LABlab(49.16, 53.00, -49.59)
CIE-LCHlch(49.16, 72.58, 316.90°)
OKLaboklab(58.44% 0.1277 -0.1393)
OKLCHoklch(58.44% 0.189 312.5)
XYZxyz(28.2992, 17.7269, 57.7966)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A151CA #7ACA51
analogous
#6451CA #A151CA #CA51B7
triadic
#A151CA #CAA151 #51CAA1
tetradic
#A151CA #CA6451 #7ACA51 #51B7CA
square
#A151CA #CA6451 #7ACA51 #51B7CA
split-complementary
#A151CA #B7CA51 #51CA64
monochromatic
#5E257B #8234AA #A151CA #BA80D8 #D4AFE7

Accessibility & contrast

On white

4.62
#A151CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A151CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A151CA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A151CA#FFFFFF#000000##FFFFFF
##A151CA1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2771CE
Deuteranopia (green-blind)
#4977C7
Tritanopia (blue-blind)
#9D6786
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a151ca;
/* rgb */ color: rgb(161, 81, 202);
/* oklch */ color: oklch(58.4% 0.189 312.5);
Tailwind
colors: {
  custom: {
    50: '#c086db',
    500: '#a151ca',
    950: '#000000',
  },
}
SCSS
$custom: #a151ca;
$custom-light: #c086db;
$custom-dark: #000000;
JSON
{
  "hex": "#a151ca",
  "rgb": {
    "r": 161,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 279.669,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58444,
    "c": 0.18893,
    "h": 312.5
  },
  "luminance": 0.17726
}

Semantic roles & 50–950 ramp

primary
#A151CA
secondary
#B3D5A2
accent
#DD4B7C
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A151CA

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

Preview Lab → · Contrast checker → · Palette generator →

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