#A261DB#A261DB

#A261DB is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.8% C 0.184 H 306.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A261DB
RGBrgb(162, 97, 219)
HSLhsl(272, 63%, 62%)
HSVhsv(272, 56%, 86%)
CMYKcmyk(26%, 55.7%, 0%, 14.1%)
CIE-LABlab(53.33, 48.87, -52.63)
CIE-LCHlch(53.33, 71.82, 312.88°)
OKLaboklab(61.83% 0.1091 -0.1482)
OKLCHoklch(61.83% 0.184 306.4)
XYZxyz(31.9585, 21.3455, 69.4406)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A261DB #9ADB61
analogous
#6561DB #A261DB #DB61D7
triadic
#A261DB #DBA261 #61DBA2
tetradic
#A261DB #DB6561 #9ADB61 #61D7DB
square
#A261DB #DB6561 #9ADB61 #61D7DB
split-complementary
#A261DB #D7DB61 #61DB65
monochromatic
#65249E #852FD0 #A261DB #BF93E6 #DDC5F2

Accessibility & contrast

On white

3.99
#A261DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#A261DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A261DB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A261DB#FFFFFF#000000##000000
##A261DB1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#357DDF
Deuteranopia (green-blind)
#4D80D8
Tritanopia (blue-blind)
#997895
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a261db;
/* rgb */ color: rgb(162, 97, 219);
/* oklch */ color: oklch(61.8% 0.184 306.4);
Tailwind
colors: {
  custom: {
    50: '#c190e7',
    500: '#a261db',
    950: '#000000',
  },
}
SCSS
$custom: #a261db;
$custom-light: #c190e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a261db",
  "rgb": {
    "r": 162,
    "g": 97,
    "b": 219
  },
  "hsl": {
    "h": 271.967,
    "s": 62.887,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61828,
    "c": 0.18402,
    "h": 306.4
  },
  "luminance": 0.21345
}

Semantic roles & 50–950 ramp

primary
#A261DB
secondary
#CAE2B5
accent
#CB1B6D
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A261DB

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

Preview Lab → · Contrast checker → · Palette generator →

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