#A272CF#A272CF

#A272CF is a light, vivid violet. Relative luminance 0.242; OKLCH L 63.8% C 0.143 H 306.6°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A272CF
RGBrgb(162, 114, 207)
HSLhsl(271, 49%, 63%)
HSVhsv(271, 45%, 81%)
CMYKcmyk(21.7%, 44.9%, 0%, 18.8%)
CIE-LABlab(56.31, 36.80, -41.10)
CIE-LCHlch(56.31, 55.17, 311.84°)
OKLaboklab(63.84% 0.0851 -0.1146)
OKLCHoklch(63.84% 0.143 306.6)
XYZxyz(32.1778, 24.2213, 61.9994)
Luminance0.2422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A272CF #9FCF72
analogous
#7472CF #A272CF #CF72CD
triadic
#A272CF #CFA272 #72CFA2
tetradic
#A272CF #CF7472 #9FCF72 #72CDCF
square
#A272CF #CF7472 #9FCF72 #72CDCF
split-complementary
#A272CF #CDCF72 #72CF74
monochromatic
#653294 #8444BF #A272CF #C0A0DF #DECDEE

Accessibility & contrast

On white

3.59
#A272CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#A272CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A272CF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A272CF#FFFFFF#000000##000000
##A272CF1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B85D2
Deuteranopia (green-blind)
#6787CD
Tritanopia (blue-blind)
#9B8197
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a272cf;
/* rgb */ color: rgb(162, 114, 207);
/* oklch */ color: oklch(63.8% 0.143 306.6);
Tailwind
colors: {
  custom: {
    50: '#bf9bde',
    500: '#a272cf',
    950: '#000000',
  },
}
SCSS
$custom: #a272cf;
$custom-light: #bf9bde;
$custom-dark: #000000;
JSON
{
  "hex": "#a272cf",
  "rgb": {
    "r": 162,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 270.968,
    "s": 49.206,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63837,
    "c": 0.14278,
    "h": 306.6
  },
  "luminance": 0.24221
}

Semantic roles & 50–950 ramp

primary
#A272CF
secondary
#CEDFBE
accent
#BD2970
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #A272CF

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

Preview Lab → · Contrast checker → · Palette generator →

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