#A273D7#A273D7

#A273D7 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.4% C 0.151 H 304.2°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A273D7
RGBrgb(162, 115, 215)
HSLhsl(268, 56%, 65%)
HSVhsv(268, 47%, 84%)
CMYKcmyk(24.7%, 46.5%, 0%, 15.7%)
CIE-LABlab(56.93, 38.12, -44.64)
CIE-LCHlch(56.93, 58.70, 310.49°)
OKLaboklab(64.43% 0.0849 -0.1249)
OKLCHoklch(64.43% 0.151 304.2)
XYZxyz(33.2941, 24.8493, 67.3192)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A273D7 #A8D773
analogous
#7376D7 #A273D7 #D473D7
triadic
#A273D7 #D7A273 #73D7A2
tetradic
#A273D7 #D77376 #A8D773 #73D7D4
square
#A273D7 #D77376 #A8D773 #73D7D4
split-complementary
#A273D7 #D7D473 #76D773
monochromatic
#642EA1 #8243C9 #A273D7 #C2A3E5 #E1D2F2

Accessibility & contrast

On white

3.52
#A273D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#A273D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A273D7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A273D7#FFFFFF#000000##000000
##A273D71.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5787DB
Deuteranopia (green-blind)
#6389D4
Tritanopia (blue-blind)
#99849B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a273d7;
/* rgb */ color: rgb(162, 115, 215);
/* oklch */ color: oklch(64.4% 0.151 304.2);
Tailwind
colors: {
  custom: {
    50: '#c09ce4',
    500: '#a273d7',
    950: '#000000',
  },
}
SCSS
$custom: #a273d7;
$custom-light: #c09ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#a273d7",
  "rgb": {
    "r": 162,
    "g": 115,
    "b": 215
  },
  "hsl": {
    "h": 268.2,
    "s": 55.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6443,
    "c": 0.15103,
    "h": 304.2
  },
  "luminance": 0.24849
}

Semantic roles & 50–950 ramp

primary
#A273D7
secondary
#D4E4C2
accent
#C32278
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E15
muted
#817E84

Preview Lab

Preview with #A273D7

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

Preview Lab → · Contrast checker → · Palette generator →

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