#A272EA#A272EA

#A272EA is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.3% C 0.176 H 300.0°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A272EA
RGBrgb(162, 114, 234)
HSLhsl(264, 74%, 68%)
HSVhsv(264, 51%, 92%)
CMYKcmyk(30.8%, 51.3%, 0%, 8.2%)
CIE-LABlab(57.71, 43.26, -54.06)
CIE-LCHlch(57.71, 69.24, 308.67°)
OKLaboklab(65.34% 0.0881 -0.1524)
OKLCHoklch(65.34% 0.176 300)
XYZxyz(35.7654, 25.6563, 80.8939)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A272EA #BAEA72
analogous
#727EEA #A272EA #DE72EA
triadic
#A272EA #EAA272 #72EAA2
tetradic
#A272EA #EA727E #BAEA72 #72EADE
square
#A272EA #EA727E #BAEA72 #72EADE
split-complementary
#A272EA #EADE72 #7EEA72
monochromatic
#601DC4 #7F3DE2 #A272EA #C5A7F2 #E8DDFA

Accessibility & contrast

On white

3.42
#A272EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#A272EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A272EA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A272EA#FFFFFF#000000##000000
##A272EA1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#478AEE
Deuteranopia (green-blind)
#558AE7
Tritanopia (blue-blind)
#9389A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a272ea;
/* rgb */ color: rgb(162, 114, 234);
/* oklch */ color: oklch(65.3% 0.176 300.0);
Tailwind
colors: {
  custom: {
    50: '#c19cf1',
    500: '#a272ea',
    950: '#000000',
  },
}
SCSS
$custom: #a272ea;
$custom-light: #c19cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a272ea",
  "rgb": {
    "r": 162,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 264,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65337,
    "c": 0.17605,
    "h": 300
  },
  "luminance": 0.25657
}

Semantic roles & 50–950 ramp

primary
#A272EA
secondary
#E0EECA
accent
#D60F87
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A272EA

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

Preview Lab → · Contrast checker → · Palette generator →

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