#A272CC#A272CC

#A272CC is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.7% C 0.139 H 307.5°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A272CC
RGBrgb(162, 114, 204)
HSLhsl(272, 47%, 62%)
HSVhsv(272, 44%, 80%)
CMYKcmyk(20.6%, 44.1%, 0%, 20%)
CIE-LABlab(56.16, 36.11, -39.63)
CIE-LCHlch(56.16, 53.61, 312.34°)
OKLaboklab(63.68% 0.0846 -0.1104)
OKLCHoklch(63.68% 0.139 307.5)
XYZxyz(31.8146, 24.0760, 60.0861)
Luminance0.2408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A272CC #9CCC72
analogous
#7572CC #A272CC #CC72C9
triadic
#A272CC #CCA272 #72CCA2
tetradic
#A272CC #CC7572 #9CCC72 #72C9CC
square
#A272CC #CC7572 #9CCC72 #72C9CC
split-complementary
#A272CC #C9CC72 #72CC75
monochromatic
#653490 #8445BC #A272CC #C09FDC #DDCCED

Accessibility & contrast

On white

3.61
#A272CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#A272CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A272CC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A272CC#FFFFFF#000000##000000
##A272CC1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85CF
Deuteranopia (green-blind)
#6987CA
Tritanopia (blue-blind)
#9C8095
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a272cc;
/* rgb */ color: rgb(162, 114, 204);
/* oklch */ color: oklch(63.7% 0.139 307.5);
Tailwind
colors: {
  custom: {
    50: '#bf9bdc',
    500: '#a272cc',
    950: '#000000',
  },
}
SCSS
$custom: #a272cc;
$custom-light: #bf9bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a272cc",
  "rgb": {
    "r": 162,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 272,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63681,
    "c": 0.13908,
    "h": 307.5
  },
  "luminance": 0.24076
}

Semantic roles & 50–950 ramp

primary
#A272CC
secondary
#CCDDBC
accent
#BA2B6E
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A272CC

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

Preview Lab → · Contrast checker → · Palette generator →

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