#A272F4#A272F4

#A272F4 is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.9% C 0.188 H 298.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A272F4
RGBrgb(162, 114, 244)
HSLhsl(262, 86%, 70%)
HSVhsv(262, 53%, 96%)
CMYKcmyk(33.6%, 53.3%, 0%, 4.3%)
CIE-LABlab(58.27, 45.75, -58.72)
CIE-LCHlch(58.27, 74.43, 307.92°)
OKLaboklab(65.93% 0.0887 -0.1661)
OKLCHoklch(65.93% 0.188 298.1)
XYZxyz(37.2427, 26.2472, 88.6745)
Luminance0.2625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A272F4 #C4F472
analogous
#7283F4 #A272F4 #E372F4
triadic
#A272F4 #F4A272 #72F4A2
tetradic
#A272F4 #F47283 #C4F472 #72F4E3
square
#A272F4 #F47283 #C4F472 #72F4E3
split-complementary
#A272F4 #F4E372 #83F472
monochromatic
#5B11DB #7D39F0 #A272F4 #C7ABF8 #ECE3FD

Accessibility & contrast

On white

3.36
#A272F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#A272F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A272F4
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A272F4#FFFFFF#000000##000000
##A272F41.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8CF8
Deuteranopia (green-blind)
#4B8BF1
Tritanopia (blue-blind)
#908CA8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a272f4;
/* rgb */ color: rgb(162, 114, 244);
/* oklch */ color: oklch(65.9% 0.188 298.1);
Tailwind
colors: {
  custom: {
    50: '#c19cf8',
    500: '#a272f4',
    950: '#000000',
  },
}
SCSS
$custom: #a272f4;
$custom-light: #c19cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#a272f4",
  "rgb": {
    "r": 162,
    "g": 114,
    "b": 244
  },
  "hsl": {
    "h": 262.154,
    "s": 85.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.65934,
    "c": 0.18827,
    "h": 298.1
  },
  "luminance": 0.26248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A272F4

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

Preview Lab → · Contrast checker → · Palette generator →

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