#A261D7#A261D7

#A261D7 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.6% C 0.179 H 307.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A261D7
RGBrgb(162, 97, 215)
HSLhsl(273, 60%, 61%)
HSVhsv(273, 55%, 84%)
CMYKcmyk(24.7%, 54.9%, 0%, 15.7%)
CIE-LABlab(53.10, 47.95, -50.72)
CIE-LCHlch(53.10, 69.80, 313.39°)
OKLaboklab(61.59% 0.1089 -0.1426)
OKLCHoklch(61.59% 0.179 307.4)
XYZxyz(31.4382, 21.1374, 66.7005)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A261D7 #96D761
analogous
#6761D7 #A261D7 #D761D1
triadic
#A261D7 #D7A261 #61D7A2
tetradic
#A261D7 #D76761 #96D761 #61D1D7
square
#A261D7 #D76761 #96D761 #61D1D7
split-complementary
#A261D7 #D1D761 #61D767
monochromatic
#652697 #8533C8 #A261D7 #BF92E3 #DBC3F0

Accessibility & contrast

On white

4.02
#A261D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#A261D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A261D7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A261D7#FFFFFF#000000##000000
##A261D71.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7CDB
Deuteranopia (green-blind)
#507FD4
Tritanopia (blue-blind)
#9A7793
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a261d7;
/* rgb */ color: rgb(162, 97, 215);
/* oklch */ color: oklch(61.6% 0.179 307.4);
Tailwind
colors: {
  custom: {
    50: '#c090e4',
    500: '#a261d7',
    950: '#000000',
  },
}
SCSS
$custom: #a261d7;
$custom-light: #c090e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a261d7",
  "rgb": {
    "r": 162,
    "g": 97,
    "b": 215
  },
  "hsl": {
    "h": 273.051,
    "s": 59.596,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61589,
    "c": 0.17945,
    "h": 307.4
  },
  "luminance": 0.21137
}

Semantic roles & 50–950 ramp

primary
#A261D7
secondary
#C8E0B4
accent
#C71E6A
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D15
muted
#827E84

Preview Lab

Preview with #A261D7

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

Preview Lab → · Contrast checker → · Palette generator →

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