#A159CB#A159CB

#A159CB is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.6% C 0.178 H 311.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A159CB
RGBrgb(161, 89, 203)
HSLhsl(278, 52%, 57%)
HSVhsv(278, 56%, 80%)
CMYKcmyk(20.7%, 56.2%, 0%, 20.4%)
CIE-LABlab(50.73, 49.18, -47.67)
CIE-LCHlch(50.73, 68.49, 315.89°)
OKLaboklab(59.61% 0.1175 -0.1337)
OKLCHoklch(59.61% 0.178 311.3)
XYZxyz(29.0479, 19.0342, 58.6321)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A159CB #83CB59
analogous
#6859CB #A159CB #CB59BC
triadic
#A159CB #CBA159 #59CBA1
tetradic
#A159CB #CB6859 #83CB59 #59BCCB
square
#A159CB #CB6859 #83CB59 #59BCCB
split-complementary
#A159CB #BCCB59 #59CB68
monochromatic
#602881 #8337B0 #A159CB #BB88DA #D6B6E8

Accessibility & contrast

On white

4.37
#A159CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#A159CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A159CB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A159CB#FFFFFF#000000##000000
##A159CB1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3675CF
Deuteranopia (green-blind)
#507AC8
Tritanopia (blue-blind)
#9C6D8A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a159cb;
/* rgb */ color: rgb(161, 89, 203);
/* oklch */ color: oklch(59.6% 0.178 311.3);
Tailwind
colors: {
  custom: {
    50: '#c08bdb',
    500: '#a159cb',
    950: '#000000',
  },
}
SCSS
$custom: #a159cb;
$custom-light: #c08bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a159cb",
  "rgb": {
    "r": 161,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 277.895,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59605,
    "c": 0.178,
    "h": 311.3
  },
  "luminance": 0.19034
}

Semantic roles & 50–950 ramp

primary
#A159CB
secondary
#BAD7A9
accent
#DC4C81
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #A159CB

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

Preview Lab → · Contrast checker → · Palette generator →

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