#A272F5#A272F5

#A272F5 is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.0% C 0.189 H 297.9°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A272F5
RGBrgb(162, 114, 245)
HSLhsl(262, 87%, 70%)
HSVhsv(262, 53%, 96%)
CMYKcmyk(33.9%, 53.5%, 0%, 3.9%)
CIE-LABlab(58.33, 46.00, -59.18)
CIE-LCHlch(58.33, 74.95, 307.86°)
OKLaboklab(66% 0.0887 -0.1674)
OKLCHoklch(66% 0.189 297.9)
XYZxyz(37.3950, 26.3081, 89.4763)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A272F5 #C5F572
analogous
#7283F5 #A272F5 #E472F5
triadic
#A272F5 #F5A272 #72F5A2
tetradic
#A272F5 #F57283 #C5F572 #72F5E4
square
#A272F5 #F57283 #C5F572 #72F5E4
split-complementary
#A272F5 #F5E472 #83F572
monochromatic
#5B10DD #7C39F1 #A272F5 #C8ABF9 #ECE2FD

Accessibility & contrast

On white

3.35
#A272F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#A272F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A272F5
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A272F5#FFFFFF#000000##000000
##A272F51.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8CF9
Deuteranopia (green-blind)
#4A8BF2
Tritanopia (blue-blind)
#908CA9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a272f5;
/* rgb */ color: rgb(162, 114, 245);
/* oklch */ color: oklch(66.0% 0.189 297.9);
Tailwind
colors: {
  custom: {
    50: '#c19cf9',
    500: '#a272f5',
    950: '#000000',
  },
}
SCSS
$custom: #a272f5;
$custom-light: #c19cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#a272f5",
  "rgb": {
    "r": 162,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 261.985,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.65995,
    "c": 0.18949,
    "h": 297.9
  },
  "luminance": 0.26309
}

Semantic roles & 50–950 ramp

primary
#A272F5
secondary
#E6F3CF
accent
#E30291
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A272F5

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

Preview Lab → · Contrast checker → · Palette generator →

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