#A273E9#A273E9

#A273E9 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.4% C 0.173 H 300.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A273E9
RGBrgb(162, 115, 233)
HSLhsl(264, 73%, 68%)
HSVhsv(264, 51%, 91%)
CMYKcmyk(30.5%, 50.6%, 0%, 8.6%)
CIE-LABlab(57.87, 42.46, -53.24)
CIE-LCHlch(57.87, 68.10, 308.58°)
OKLaboklab(65.44% 0.0867 -0.15)
OKLCHoklch(65.44% 0.173 300)
XYZxyz(35.7355, 25.8258, 80.1772)
Luminance0.2583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A273E9 #BAE973
analogous
#737FE9 #A273E9 #DD73E9
triadic
#A273E9 #E9A273 #73E9A2
tetradic
#A273E9 #E9737F #BAE973 #73E9DD
square
#A273E9 #E9737F #BAE973 #73E9DD
split-complementary
#A273E9 #E9DD73 #7FE973
monochromatic
#601FC3 #7F3EE1 #A273E9 #C5A8F1 #E8DDFA

Accessibility & contrast

On white

3.41
#A273E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#A273E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A273E9
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A273E9#FFFFFF#000000##000000
##A273E91.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8BED
Deuteranopia (green-blind)
#578AE6
Tritanopia (blue-blind)
#9489A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a273e9;
/* rgb */ color: rgb(162, 115, 233);
/* oklch */ color: oklch(65.4% 0.173 300.0);
Tailwind
colors: {
  custom: {
    50: '#c19cf0',
    500: '#a273e9',
    950: '#000000',
  },
}
SCSS
$custom: #a273e9;
$custom-light: #c19cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#a273e9",
  "rgb": {
    "r": 162,
    "g": 115,
    "b": 233
  },
  "hsl": {
    "h": 263.898,
    "s": 72.84,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65439,
    "c": 0.1733,
    "h": 300
  },
  "luminance": 0.25826
}

Semantic roles & 50–950 ramp

primary
#A273E9
secondary
#E0EECA
accent
#D51187
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A273E9

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

Preview Lab → · Contrast checker → · Palette generator →

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