#A272CB#A272CB

#A272CB is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.6% C 0.138 H 307.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A272CB
RGBrgb(162, 114, 203)
HSLhsl(272, 46%, 62%)
HSVhsv(272, 44%, 80%)
CMYKcmyk(20.2%, 43.8%, 0%, 20.4%)
CIE-LABlab(56.12, 35.88, -39.13)
CIE-LCHlch(56.12, 53.09, 312.52°)
OKLaboklab(63.63% 0.0845 -0.1089)
OKLCHoklch(63.63% 0.138 307.8)
XYZxyz(31.6950, 24.0281, 59.4565)
Luminance0.2403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A272CB #9BCB72
analogous
#7672CB #A272CB #CB72C7
triadic
#A272CB #CBA272 #72CBA2
tetradic
#A272CB #CB7672 #9BCB72 #72C7CB
square
#A272CB #CB7672 #9BCB72 #72C7CB
split-complementary
#A272CB #C7CB72 #72CB76
monochromatic
#65348E #8545BB #A272CB #BF9FDB #DDCBEC

Accessibility & contrast

On white

3.62
#A272CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#A272CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A272CB
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A272CB#FFFFFF#000000##000000
##A272CB1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85CE
Deuteranopia (green-blind)
#6987C9
Tritanopia (blue-blind)
#9C8095
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a272cb;
/* rgb */ color: rgb(162, 114, 203);
/* oklch */ color: oklch(63.6% 0.138 307.8);
Tailwind
colors: {
  custom: {
    50: '#bf9bdb',
    500: '#a272cb',
    950: '#000000',
  },
}
SCSS
$custom: #a272cb;
$custom-light: #bf9bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a272cb",
  "rgb": {
    "r": 162,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 272.36,
    "s": 46.114,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63629,
    "c": 0.13786,
    "h": 307.8
  },
  "luminance": 0.24028
}

Semantic roles & 50–950 ramp

primary
#A272CB
secondary
#CBDDBC
accent
#B92C6D
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A272CB

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

Preview Lab → · Contrast checker → · Palette generator →

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