#A261C8#A261C8

#A261C8 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.7% C 0.162 H 311.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A261C8
RGBrgb(162, 97, 200)
HSLhsl(278, 48%, 58%)
HSVhsv(278, 52%, 78%)
CMYKcmyk(19%, 51.5%, 0%, 21.6%)
CIE-LABlab(52.29, 44.56, -43.46)
CIE-LCHlch(52.29, 62.25, 315.72°)
OKLaboklab(60.73% 0.1079 -0.1214)
OKLCHoklch(60.73% 0.162 311.6)
XYZxyz(29.5985, 20.4015, 57.0111)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A261C8 #87C861
analogous
#6E61C8 #A261C8 #C861BA
triadic
#A261C8 #C8A261 #61C8A2
tetradic
#A261C8 #C86E61 #87C861 #61BAC8
square
#A261C8 #C86E61 #87C861 #61BAC8
split-complementary
#A261C8 #BAC861 #61C86E
monochromatic
#622D82 #853DAF #A261C8 #BD8ED8 #D7BCE8

Accessibility & contrast

On white

4.13
#A261C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A261C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A261C8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A261C8#FFFFFF#000000##000000
##A261C81.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4779CB
Deuteranopia (green-blind)
#5B7EC5
Tritanopia (blue-blind)
#9E728B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a261c8;
/* rgb */ color: rgb(162, 97, 200);
/* oklch */ color: oklch(60.7% 0.162 311.6);
Tailwind
colors: {
  custom: {
    50: '#c090d9',
    500: '#a261c8',
    950: '#000000',
  },
}
SCSS
$custom: #a261c8;
$custom-light: #c090d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a261c8",
  "rgb": {
    "r": 162,
    "g": 97,
    "b": 200
  },
  "hsl": {
    "h": 277.864,
    "s": 48.357,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60728,
    "c": 0.16243,
    "h": 311.6
  },
  "luminance": 0.20401
}

Semantic roles & 50–950 ramp

primary
#A261C8
secondary
#BDD7AE
accent
#D85082
background
#FCF9FD
surface
#F8F1FA
border
#D1CBD3
text
#120D15
muted
#817E83

Preview Lab

Preview with #A261C8

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

Preview Lab → · Contrast checker → · Palette generator →

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