#A272E7#A272E7

#A272E7 is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.2% C 0.172 H 300.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A272E7
RGBrgb(162, 114, 231)
HSLhsl(265, 71%, 68%)
HSVhsv(265, 51%, 91%)
CMYKcmyk(29.9%, 50.6%, 0%, 9.4%)
CIE-LABlab(57.55, 42.53, -52.64)
CIE-LCHlch(57.55, 67.67, 308.93°)
OKLaboklab(65.16% 0.0879 -0.1483)
OKLCHoklch(65.16% 0.172 300.7)
XYZxyz(35.3381, 25.4854, 78.6432)
Luminance0.2549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A272E7 #B7E772
analogous
#727DE7 #A272E7 #DC72E7
triadic
#A272E7 #E7A272 #72E7A2
tetradic
#A272E7 #E7727D #B7E772 #72E7DC
square
#A272E7 #E7727D #B7E772 #72E7DC
split-complementary
#A272E7 #E7DC72 #7DE772
monochromatic
#6120BE #803EDE #A272E7 #C4A6F0 #E7DBF9

Accessibility & contrast

On white

3.44
#A272E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#A272E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A272E7
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A272E7#FFFFFF#000000##000000
##A272E71.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8AEB
Deuteranopia (green-blind)
#578AE4
Tritanopia (blue-blind)
#9488A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a272e7;
/* rgb */ color: rgb(162, 114, 231);
/* oklch */ color: oklch(65.2% 0.172 300.7);
Tailwind
colors: {
  custom: {
    50: '#c19cef',
    500: '#a272e7',
    950: '#000000',
  },
}
SCSS
$custom: #a272e7;
$custom-light: #c19cef;
$custom-dark: #000000;
JSON
{
  "hex": "#a272e7",
  "rgb": {
    "r": 162,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 264.615,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65162,
    "c": 0.17237,
    "h": 300.7
  },
  "luminance": 0.25486
}

Semantic roles & 50–950 ramp

primary
#A272E7
secondary
#DEEDC8
accent
#D31384
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A272E7

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

Preview Lab → · Contrast checker → · Palette generator →

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