#A272EF#A272EF

#A272EF is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.6% C 0.182 H 299.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A272EF
RGBrgb(162, 114, 239)
HSLhsl(263, 80%, 69%)
HSVhsv(263, 52%, 94%)
CMYKcmyk(32.2%, 52.3%, 0%, 6.3%)
CIE-LABlab(57.99, 44.50, -56.40)
CIE-LCHlch(57.99, 71.84, 308.28°)
OKLaboklab(65.63% 0.0884 -0.1593)
OKLCHoklch(65.63% 0.182 299)
XYZxyz(36.4938, 25.9477, 84.7304)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A272EF #BFEF72
analogous
#7281EF #A272EF #E172EF
triadic
#A272EF #EFA272 #72EFA2
tetradic
#A272EF #EF7281 #BFEF72 #72EFE1
square
#A272EF #EF7281 #BFEF72 #72EFE1
split-complementary
#A272EF #EFE172 #81EF72
monochromatic
#5E18CF #7E3BE9 #A272EF #C6A9F5 #EBE0FB

Accessibility & contrast

On white

3.39
#A272EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#A272EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A272EF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A272EF#FFFFFF#000000##000000
##A272EF1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#438BF3
Deuteranopia (green-blind)
#508AEC
Tritanopia (blue-blind)
#928AA6
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a272ef;
/* rgb */ color: rgb(162, 114, 239);
/* oklch */ color: oklch(65.6% 0.182 299.0);
Tailwind
colors: {
  custom: {
    50: '#c19cf5',
    500: '#a272ef',
    950: '#000000',
  },
}
SCSS
$custom: #a272ef;
$custom-light: #c19cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a272ef",
  "rgb": {
    "r": 162,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 263.04,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.65633,
    "c": 0.18217,
    "h": 299
  },
  "luminance": 0.25948
}

Semantic roles & 50–950 ramp

primary
#A272EF
secondary
#E3F1CC
accent
#DC0A8B
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A272EF

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

Preview Lab → · Contrast checker → · Palette generator →

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