#A272F7#A272F7

#A272F7 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.1% C 0.192 H 297.6°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A272F7
RGBrgb(162, 114, 247)
HSLhsl(262, 89%, 71%)
HSVhsv(262, 54%, 97%)
CMYKcmyk(34.4%, 53.8%, 0%, 3.1%)
CIE-LABlab(58.44, 46.50, -60.10)
CIE-LCHlch(58.44, 75.99, 307.73°)
OKLaboklab(66.12% 0.0888 -0.1701)
OKLCHoklch(66.12% 0.192 297.6)
XYZxyz(37.7019, 26.4309, 91.0930)
Luminance0.2643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A272F7 #C7F772
analogous
#7284F7 #A272F7 #E472F7
triadic
#A272F7 #F7A272 #72F7A2
tetradic
#A272F7 #F77284 #C7F772 #72F7E4
square
#A272F7 #F77284 #C7F772 #72F7E4
split-complementary
#A272F7 #F7E472 #84F772
monochromatic
#5A0DE2 #7C38F4 #A272F7 #C8ACFA #ECE2FD

Accessibility & contrast

On white

3.34
#A272F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#A272F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A272F7
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A272F7#FFFFFF#000000##000000
##A272F71.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#398DFB
Deuteranopia (green-blind)
#488BF4
Tritanopia (blue-blind)
#8F8DAA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a272f7;
/* rgb */ color: rgb(162, 114, 247);
/* oklch */ color: oklch(66.1% 0.192 297.6);
Tailwind
colors: {
  custom: {
    50: '#c29cfa',
    500: '#a272f7',
    950: '#000000',
  },
}
SCSS
$custom: #a272f7;
$custom-light: #c29cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a272f7",
  "rgb": {
    "r": 162,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 261.654,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66117,
    "c": 0.19191,
    "h": 297.6
  },
  "luminance": 0.26431
}

Semantic roles & 50–950 ramp

primary
#A272F7
secondary
#E7F4D1
accent
#E60093
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A272F7

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

Preview Lab → · Contrast checker → · Palette generator →

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