#A272BB#A272BB

#A272BB is a light, moderate violet. Relative luminance 0.233; OKLCH L 62.8% C 0.118 H 313.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A272BB
RGBrgb(162, 114, 187)
HSLhsl(279, 35%, 59%)
HSVhsv(279, 39%, 73%)
CMYKcmyk(13.4%, 39%, 0%, 26.7%)
CIE-LABlab(55.38, 32.31, -31.15)
CIE-LCHlch(55.38, 44.88, 316.05°)
OKLaboklab(62.84% 0.0814 -0.0859)
OKLCHoklch(62.84% 0.118 313.5)
XYZxyz(29.8858, 23.3045, 49.9279)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A272BB #8BBB72
analogous
#7E72BB #A272BB #BB72B0
triadic
#A272BB #BBA272 #72BBA2
tetradic
#A272BB #BB7E72 #8BBB72 #72B0BB
square
#A272BB #BB7E72 #8BBB72 #72B0BB
split-complementary
#A272BB #B0BB72 #72BB7E
monochromatic
#633A78 #854EA2 #A272BB #BD9BCF #D8C5E3

Accessibility & contrast

On white

3.71
#A272BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#A272BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A272BB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A272BB#FFFFFF#000000##000000
##A272BB1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6582BE
Deuteranopia (green-blind)
#7186B9
Tritanopia (blue-blind)
#A07C8E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a272bb;
/* rgb */ color: rgb(162, 114, 187);
/* oklch */ color: oklch(62.8% 0.118 313.5);
Tailwind
colors: {
  custom: {
    50: '#be9bcf',
    500: '#a272bb',
    950: '#000000',
  },
}
SCSS
$custom: #a272bb;
$custom-light: #be9bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#a272bb",
  "rgb": {
    "r": 162,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 279.452,
    "s": 34.928,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62839,
    "c": 0.11838,
    "h": 313.5
  },
  "luminance": 0.23304
}

Semantic roles & 50–950 ramp

primary
#A272BB
secondary
#C0D3B6
accent
#CB5D83
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A272BB

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

Preview Lab → · Contrast checker → · Palette generator →

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