#A181CB#A181CB

#A181CB is a light, moderate violet. Relative luminance 0.276; OKLCH L 66.2% C 0.112 H 303.4°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A181CB
RGBrgb(161, 129, 203)
HSLhsl(266, 42%, 65%)
HSVhsv(266, 36%, 80%)
CMYKcmyk(20.7%, 36.5%, 0%, 20.4%)
CIE-LABlab(59.52, 27.07, -33.82)
CIE-LCHlch(59.52, 43.32, 308.68°)
OKLaboklab(66.18% 0.0617 -0.0937)
OKLCHoklch(66.18% 0.112 303.4)
XYZxyz(33.3254, 27.5894, 60.0580)
Luminance0.2759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A181CB #ABCB81
analogous
#8186CB #A181CB #C681CB
triadic
#A181CB #CBA181 #81CBA1
tetradic
#A181CB #CB8186 #ABCB81 #81CBC6
square
#A181CB #CB8186 #ABCB81 #81CBC6
split-complementary
#A181CB #CBC681 #86CB81
monochromatic
#633D94 #8156B9 #A181CB #C1ACDD #E2D8EF

Accessibility & contrast

On white

3.22
#A181CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#A181CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A181CB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A181CB#FFFFFF#000000##000000
##A181CB1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#708FCE
Deuteranopia (green-blind)
#778FC9
Tritanopia (blue-blind)
#9A8D9D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a181cb;
/* rgb */ color: rgb(161, 129, 203);
/* oklch */ color: oklch(66.2% 0.112 303.4);
Tailwind
colors: {
  custom: {
    50: '#bea6db',
    500: '#a181cb',
    950: '#000000',
  },
}
SCSS
$custom: #a181cb;
$custom-light: #bea6db;
$custom-dark: #000000;
JSON
{
  "hex": "#a181cb",
  "rgb": {
    "r": 161,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 265.946,
    "s": 41.573,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66175,
    "c": 0.11218,
    "h": 303.4
  },
  "luminance": 0.27589
}

Semantic roles & 50–950 ramp

primary
#A181CB
secondary
#D6E0C7
accent
#B5317C
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#120F15
muted
#817F83

Preview Lab

Preview with #A181CB

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

Preview Lab → · Contrast checker → · Palette generator →

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