#A272DD#A272DD

#A272DD is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.6% C 0.160 H 302.9°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A272DD
RGBrgb(162, 114, 221)
HSLhsl(267, 61%, 66%)
HSVhsv(267, 48%, 87%)
CMYKcmyk(26.7%, 48.4%, 0%, 13.3%)
CIE-LABlab(57.01, 40.10, -47.89)
CIE-LCHlch(57.01, 62.46, 309.95°)
OKLaboklab(64.59% 0.0869 -0.1344)
OKLCHoklch(64.59% 0.16 302.9)
XYZxyz(33.9659, 24.9365, 71.4164)
Luminance0.2494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A272DD #ADDD72
analogous
#7277DD #A272DD #D772DD
triadic
#A272DD #DDA272 #72DDA2
tetradic
#A272DD #DD7277 #ADDD72 #72DDD7
square
#A272DD #DD7277 #ADDD72 #72DDD7
split-complementary
#A272DD #DDD772 #77DD72
monochromatic
#6429AB #8141D1 #A272DD #C3A3E9 #E3D5F5

Accessibility & contrast

On white

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

On black

5.99
#A272DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A272DD
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A272DD#FFFFFF#000000##000000
##A272DD1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5288E1
Deuteranopia (green-blind)
#5E89DA
Tritanopia (blue-blind)
#97859D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a272dd;
/* rgb */ color: rgb(162, 114, 221);
/* oklch */ color: oklch(64.6% 0.160 302.9);
Tailwind
colors: {
  custom: {
    50: '#c09be8',
    500: '#a272dd',
    950: '#000000',
  },
}
SCSS
$custom: #a272dd;
$custom-light: #c09be8;
$custom-dark: #000000;
JSON
{
  "hex": "#a272dd",
  "rgb": {
    "r": 162,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 266.916,
    "s": 61.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64593,
    "c": 0.16005,
    "h": 302.9
  },
  "luminance": 0.24936
}

Semantic roles & 50–950 ramp

primary
#A272DD
secondary
#D7E7C4
accent
#C91D7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #A272DD

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

Preview Lab → · Contrast checker → · Palette generator →

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