#A272FC#A272FC

#A272FC is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.4% C 0.198 H 296.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A272FC
RGBrgb(162, 114, 252)
HSLhsl(261, 96%, 72%)
HSVhsv(261, 55%, 99%)
CMYKcmyk(35.7%, 54.8%, 0%, 1.2%)
CIE-LABlab(58.74, 47.76, -62.40)
CIE-LCHlch(58.74, 78.58, 307.43°)
OKLaboklab(66.43% 0.0889 -0.1769)
OKLCHoklch(66.43% 0.198 296.7)
XYZxyz(38.4838, 26.7437, 95.2111)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A272FC #CCFC72
analogous
#7287FC #A272FC #E772FC
triadic
#A272FC #FCA272 #72FCA2
tetradic
#A272FC #FC7287 #CCFC72 #72FCE7
square
#A272FC #FC7287 #CCFC72 #72FCE7
split-complementary
#A272FC #FCE772 #87FC72
monochromatic
#5605EF #7A36FB #A272FC #CAAEFD #EBE1FE

Accessibility & contrast

On white

3.31
#A272FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#A272FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A272FC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A272FC#FFFFFF#000000##000000
##A272FC1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#338EFF
Deuteranopia (green-blind)
#438CF9
Tritanopia (blue-blind)
#8D8EAC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a272fc;
/* rgb */ color: rgb(162, 114, 252);
/* oklch */ color: oklch(66.4% 0.198 296.7);
Tailwind
colors: {
  custom: {
    50: '#c29cfe',
    500: '#a272fc',
    950: '#000000',
  },
}
SCSS
$custom: #a272fc;
$custom-light: #c29cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a272fc",
  "rgb": {
    "r": 162,
    "g": 114,
    "b": 252
  },
  "hsl": {
    "h": 260.87,
    "s": 95.833,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66427,
    "c": 0.19797,
    "h": 296.7
  },
  "luminance": 0.26744
}

Semantic roles & 50–950 ramp

primary
#A272FC
secondary
#EAF6D3
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A272FC

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

Preview Lab → · Contrast checker → · Palette generator →

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