#A272F8#A272F8

#A272F8 is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.2% C 0.193 H 297.4°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A272F8
RGBrgb(162, 114, 248)
HSLhsl(261, 91%, 71%)
HSVhsv(261, 54%, 97%)
CMYKcmyk(34.7%, 54%, 0%, 2.7%)
CIE-LABlab(58.50, 46.75, -60.56)
CIE-LCHlch(58.50, 76.51, 307.67°)
OKLaboklab(66.18% 0.0888 -0.1715)
OKLCHoklch(66.18% 0.193 297.4)
XYZxyz(37.8567, 26.4928, 91.9079)
Luminance0.2649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A272F8 #C8F872
analogous
#7285F8 #A272F8 #E572F8
triadic
#A272F8 #F8A272 #72F8A2
tetradic
#A272F8 #F87285 #C8F872 #72F8E5
square
#A272F8 #F87285 #C8F872 #72F8E5
split-complementary
#A272F8 #F8E572 #85F872
monochromatic
#590BE4 #7C38F5 #A272F8 #C8ACFB #ECE2FE

Accessibility & contrast

On white

3.33
#A272F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#A272F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A272F8
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A272F8#FFFFFF#000000##000000
##A272F81.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#388DFD
Deuteranopia (green-blind)
#478BF5
Tritanopia (blue-blind)
#8F8DAA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a272f8;
/* rgb */ color: rgb(162, 114, 248);
/* oklch */ color: oklch(66.2% 0.193 297.4);
Tailwind
colors: {
  custom: {
    50: '#c29cfb',
    500: '#a272f8',
    950: '#000000',
  },
}
SCSS
$custom: #a272f8;
$custom-light: #c29cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a272f8",
  "rgb": {
    "r": 162,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 261.493,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66179,
    "c": 0.19313,
    "h": 297.4
  },
  "luminance": 0.26493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A272F8

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

Preview Lab → · Contrast checker → · Palette generator →

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