#A272DC#A272DC

#A272DC is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.5% C 0.159 H 303.1°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A272DC
RGBrgb(162, 114, 220)
HSLhsl(267, 60%, 65%)
HSVhsv(267, 48%, 86%)
CMYKcmyk(26.4%, 48.2%, 0%, 13.7%)
CIE-LABlab(56.96, 39.86, -47.41)
CIE-LCHlch(56.96, 61.94, 310.06°)
OKLaboklab(64.54% 0.0868 -0.133)
OKLCHoklch(64.54% 0.159 303.1)
XYZxyz(33.8330, 24.8834, 70.7168)
Luminance0.2488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A272DC #ACDC72
analogous
#7277DC #A272DC #D772DC
triadic
#A272DC #DCA272 #72DCA2
tetradic
#A272DC #DC7277 #ACDC72 #72DCD7
square
#A272DC #DC7277 #ACDC72 #72DCD7
split-complementary
#A272DC #DCD772 #77DC72
monochromatic
#642AAA #8241D0 #A272DC #C2A3E8 #E3D4F4

Accessibility & contrast

On white

3.51
#A272DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#A272DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A272DC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A272DC#FFFFFF#000000##000000
##A272DC1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5388E0
Deuteranopia (green-blind)
#5F89D9
Tritanopia (blue-blind)
#98859D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a272dc;
/* rgb */ color: rgb(162, 114, 220);
/* oklch */ color: oklch(64.5% 0.159 303.1);
Tailwind
colors: {
  custom: {
    50: '#c09be7',
    500: '#a272dc',
    950: '#000000',
  },
}
SCSS
$custom: #a272dc;
$custom-light: #c09be7;
$custom-dark: #000000;
JSON
{
  "hex": "#a272dc",
  "rgb": {
    "r": 162,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 267.17,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64538,
    "c": 0.15882,
    "h": 303.1
  },
  "luminance": 0.24883
}

Semantic roles & 50–950 ramp

primary
#A272DC
secondary
#D7E7C3
accent
#C81E7B
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A272DC

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

Preview Lab → · Contrast checker → · Palette generator →

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