#A272EC#A272EC

#A272EC is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.5% C 0.178 H 299.6°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A272EC
RGBrgb(162, 114, 236)
HSLhsl(264, 76%, 69%)
HSVhsv(264, 52%, 93%)
CMYKcmyk(31.4%, 51.7%, 0%, 7.5%)
CIE-LABlab(57.82, 43.76, -54.99)
CIE-LCHlch(57.82, 70.28, 308.51°)
OKLaboklab(65.45% 0.0882 -0.1552)
OKLCHoklch(65.45% 0.179 299.6)
XYZxyz(36.0543, 25.7719, 82.4156)
Luminance0.2577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A272EC #BCEC72
analogous
#727FEC #A272EC #DF72EC
triadic
#A272EC #ECA272 #72ECA2
tetradic
#A272EC #EC727F #BCEC72 #72ECDF
square
#A272EC #EC727F #BCEC72 #72ECDF
split-complementary
#A272EC #ECDF72 #7FEC72
monochromatic
#5F1BC9 #7E3CE5 #A272EC #C6A8F3 #E9DEFB

Accessibility & contrast

On white

3.41
#A272EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#A272EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A272EC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A272EC#FFFFFF#000000##000000
##A272EC1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#458BF0
Deuteranopia (green-blind)
#538AE9
Tritanopia (blue-blind)
#9389A4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a272ec;
/* rgb */ color: rgb(162, 114, 236);
/* oklch */ color: oklch(65.5% 0.178 299.6);
Tailwind
colors: {
  custom: {
    50: '#c19cf3',
    500: '#a272ec',
    950: '#000000',
  },
}
SCSS
$custom: #a272ec;
$custom-light: #c19cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#a272ec",
  "rgb": {
    "r": 162,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 263.607,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.65454,
    "c": 0.1785,
    "h": 299.6
  },
  "luminance": 0.25772
}

Semantic roles & 50–950 ramp

primary
#A272EC
secondary
#E1EFCB
accent
#D80D88
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A272EC

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

Preview Lab → · Contrast checker → · Palette generator →

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