#A273CC#A273CC

#A273CC is a light, vivid violet. Relative luminance 0.243; OKLCH L 63.8% C 0.137 H 307.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A273CC
RGBrgb(162, 115, 204)
HSLhsl(272, 47%, 63%)
HSVhsv(272, 44%, 80%)
CMYKcmyk(20.6%, 43.6%, 0%, 20%)
CIE-LABlab(56.39, 35.55, -39.27)
CIE-LCHlch(56.39, 52.97, 312.15°)
OKLaboklab(63.85% 0.0832 -0.1093)
OKLCHoklch(63.85% 0.137 307.3)
XYZxyz(31.9280, 24.3028, 60.1239)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A273CC #9DCC73
analogous
#7573CC #A273CC #CC73CA
triadic
#A273CC #CCA273 #73CCA2
tetradic
#A273CC #CC7573 #9DCC73 #73CACC
square
#A273CC #CC7573 #9DCC73 #73CACC
split-complementary
#A273CC #CACC73 #73CC75
monochromatic
#653490 #8446BC #A273CC #C0A0DC #DECDED

Accessibility & contrast

On white

3.58
#A273CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#A273CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A273CC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A273CC#FFFFFF#000000##000000
##A273CC1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CF
Deuteranopia (green-blind)
#6988CA
Tritanopia (blue-blind)
#9C8196
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a273cc;
/* rgb */ color: rgb(162, 115, 204);
/* oklch */ color: oklch(63.8% 0.137 307.3);
Tailwind
colors: {
  custom: {
    50: '#bf9cdc',
    500: '#a273cc',
    950: '#000000',
  },
}
SCSS
$custom: #a273cc;
$custom-light: #bf9cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a273cc",
  "rgb": {
    "r": 162,
    "g": 115,
    "b": 204
  },
  "hsl": {
    "h": 271.685,
    "s": 46.597,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6385,
    "c": 0.13741,
    "h": 307.3
  },
  "luminance": 0.24302
}

Semantic roles & 50–950 ramp

primary
#A273CC
secondary
#CCDEBD
accent
#BA2C6F
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A273CC

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

Preview Lab → · Contrast checker → · Palette generator →

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