#A277DA#A277DA

#A277DA is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.3% C 0.148 H 302.5°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A277DA
RGBrgb(162, 119, 218)
HSLhsl(266, 57%, 66%)
HSVhsv(266, 45%, 85%)
CMYKcmyk(25.7%, 45.4%, 0%, 14.5%)
CIE-LABlab(57.98, 36.59, -44.67)
CIE-LCHlch(57.98, 57.74, 309.32°)
OKLaboklab(65.26% 0.0798 -0.125)
OKLCHoklch(65.26% 0.148 302.5)
XYZxyz(34.1492, 25.9370, 69.5233)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A277DA #AFDA77
analogous
#777DDA #A277DA #D377DA
triadic
#A277DA #DAA277 #77DAA2
tetradic
#A277DA #DA777D #AFDA77 #77DAD3
square
#A277DA #DA777D #AFDA77 #77DAD3
split-complementary
#A277DA #DAD377 #7DDA77
monochromatic
#632EA9 #8147CD #A277DA #C3A7E7 #E4D7F4

Accessibility & contrast

On white

3.39
#A277DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#A277DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A277DA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A277DA#FFFFFF#000000##000000
##A277DA1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8ADE
Deuteranopia (green-blind)
#668BD7
Tritanopia (blue-blind)
#98889E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a277da;
/* rgb */ color: rgb(162, 119, 218);
/* oklch */ color: oklch(65.3% 0.148 302.5);
Tailwind
colors: {
  custom: {
    50: '#c09fe6',
    500: '#a277da',
    950: '#000000',
  },
}
SCSS
$custom: #a277da;
$custom-light: #c09fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#a277da",
  "rgb": {
    "r": 162,
    "g": 119,
    "b": 218
  },
  "hsl": {
    "h": 266.061,
    "s": 57.225,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65264,
    "c": 0.14833,
    "h": 302.5
  },
  "luminance": 0.25937
}

Semantic roles & 50–950 ramp

primary
#A277DA
secondary
#D9E7C6
accent
#C5217E
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A277DA

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

Preview Lab → · Contrast checker → · Palette generator →

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