#A259CB#A259CB

#A259CB is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.7% C 0.178 H 311.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A259CB
RGBrgb(162, 89, 203)
HSLhsl(278, 52%, 57%)
HSVhsv(278, 56%, 80%)
CMYKcmyk(20.2%, 56.2%, 0%, 20.4%)
CIE-LABlab(50.85, 49.43, -47.46)
CIE-LCHlch(50.85, 68.53, 316.16°)
OKLaboklab(59.72% 0.1188 -0.1331)
OKLCHoklch(59.72% 0.178 311.7)
XYZxyz(29.2502, 19.1386, 58.6416)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A259CB #82CB59
analogous
#6959CB #A259CB #CB59BB
triadic
#A259CB #CBA259 #59CBA2
tetradic
#A259CB #CB6959 #82CB59 #59BBCB
square
#A259CB #CB6959 #82CB59 #59BBCB
split-complementary
#A259CB #BBCB59 #59CB69
monochromatic
#612881 #8437B0 #A259CB #BC88DA #D6B6E8

Accessibility & contrast

On white

4.35
#A259CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#A259CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A259CB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A259CB#FFFFFF#000000##000000
##A259CB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3775CF
Deuteranopia (green-blind)
#517BC8
Tritanopia (blue-blind)
#9D6D8A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a259cb;
/* rgb */ color: rgb(162, 89, 203);
/* oklch */ color: oklch(59.7% 0.178 311.7);
Tailwind
colors: {
  custom: {
    50: '#c08bdb',
    500: '#a259cb',
    950: '#000000',
  },
}
SCSS
$custom: #a259cb;
$custom-light: #c08bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a259cb",
  "rgb": {
    "r": 162,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 278.421,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5972,
    "c": 0.17836,
    "h": 311.7
  },
  "luminance": 0.19138
}

Semantic roles & 50–950 ramp

primary
#A259CB
secondary
#B9D7A9
accent
#DC4C80
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A259CB

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

Preview Lab → · Contrast checker → · Palette generator →

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