#A272FB#A272FB

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

Color values

HEX#A272FB
RGBrgb(162, 114, 251)
HSLhsl(261, 94%, 72%)
HSVhsv(261, 55%, 98%)
CMYKcmyk(35.5%, 54.6%, 0%, 1.6%)
CIE-LABlab(58.68, 47.51, -61.94)
CIE-LCHlch(58.68, 78.06, 307.49°)
OKLaboklab(66.36% 0.0889 -0.1755)
OKLCHoklch(66.36% 0.197 296.9)
XYZxyz(38.3258, 26.6805, 94.3787)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A272FB #CBFB72
analogous
#7287FB #A272FB #E772FB
triadic
#A272FB #FBA272 #72FBA2
tetradic
#A272FB #FB7287 #CBFB72 #72FBE7
square
#A272FB #FB7287 #CBFB72 #72FBE7
split-complementary
#A272FB #FBE772 #87FB72
monochromatic
#5707EC #7B36F9 #A272FB #C9AEFD #EBE1FE

Accessibility & contrast

On white

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

On black

6.34
#A272FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A272FB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A272FB#FFFFFF#000000##000000
##A272FB1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#348EFF
Deuteranopia (green-blind)
#448BF8
Tritanopia (blue-blind)
#8D8EAC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a272fb;
/* rgb */ color: rgb(162, 114, 251);
/* oklch */ color: oklch(66.4% 0.197 296.9);
Tailwind
colors: {
  custom: {
    50: '#c29cfd',
    500: '#a272fb',
    950: '#000000',
  },
}
SCSS
$custom: #a272fb;
$custom-light: #c29cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a272fb",
  "rgb": {
    "r": 162,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 261.022,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66365,
    "c": 0.19676,
    "h": 296.9
  },
  "luminance": 0.26681
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A272FB

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

Preview Lab → · Contrast checker → · Palette generator →

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