#A277CD#A277CD

#A277CD is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.6% C 0.132 H 306.1°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A277CD
RGBrgb(162, 119, 205)
HSLhsl(270, 46%, 64%)
HSVhsv(270, 42%, 80%)
CMYKcmyk(21%, 42%, 0%, 19.6%)
CIE-LABlab(57.35, 33.52, -38.33)
CIE-LCHlch(57.35, 50.92, 311.17°)
OKLaboklab(64.59% 0.0777 -0.1066)
OKLCHoklch(64.59% 0.132 306.1)
XYZxyz(32.5143, 25.2830, 60.9130)
Luminance0.2528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A277CD #A2CD77
analogous
#7777CD #A277CD #CD77CD
triadic
#A277CD #CDA277 #77CDA2
tetradic
#A277CD #CD7777 #A2CD77 #77CDCD
square
#A277CD #CD7777 #A2CD77 #77CDCD
split-complementary
#A277CD #CDCD77 #77CD77
monochromatic
#653693 #834ABD #A277CD #C1A4DD #DFD0EE

Accessibility & contrast

On white

3.47
#A277CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#A277CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A277CD
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A277CD#FFFFFF#000000##000000
##A277CD1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6388D0
Deuteranopia (green-blind)
#6D8ACB
Tritanopia (blue-blind)
#9C8598
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a277cd;
/* rgb */ color: rgb(162, 119, 205);
/* oklch */ color: oklch(64.6% 0.132 306.1);
Tailwind
colors: {
  custom: {
    50: '#bf9fdc',
    500: '#a277cd',
    950: '#000000',
  },
}
SCSS
$custom: #a277cd;
$custom-light: #bf9fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a277cd",
  "rgb": {
    "r": 162,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 270,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64588,
    "c": 0.13194,
    "h": 306.1
  },
  "luminance": 0.25283
}

Semantic roles & 50–950 ramp

primary
#A277CD
secondary
#D0DFC1
accent
#B92C73
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A277CD

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

Preview Lab → · Contrast checker → · Palette generator →

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