#A273EF#A273EF

#A273EF is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.8% C 0.181 H 298.8°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A273EF
RGBrgb(162, 115, 239)
HSLhsl(263, 79%, 69%)
HSVhsv(263, 52%, 94%)
CMYKcmyk(32.2%, 51.9%, 0%, 6.3%)
CIE-LABlab(58.20, 43.95, -56.05)
CIE-LCHlch(58.20, 71.23, 308.10°)
OKLaboklab(65.79% 0.0872 -0.1583)
OKLCHoklch(65.79% 0.181 298.8)
XYZxyz(36.6072, 26.1745, 84.7682)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A273EF #C0EF73
analogous
#7382EF #A273EF #E073EF
triadic
#A273EF #EFA273 #73EFA2
tetradic
#A273EF #EF7382 #C0EF73 #73EFE0
square
#A273EF #EF7382 #C0EF73 #73EFE0
split-complementary
#A273EF #EFE073 #82EF73
monochromatic
#5E18D0 #7E3CE9 #A273EF #C6AAF5 #EBE1FC

Accessibility & contrast

On white

3.37
#A273EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#A273EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A273EF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A273EF#FFFFFF#000000##000000
##A273EF1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#448CF3
Deuteranopia (green-blind)
#528BEC
Tritanopia (blue-blind)
#928BA6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a273ef;
/* rgb */ color: rgb(162, 115, 239);
/* oklch */ color: oklch(65.8% 0.181 298.8);
Tailwind
colors: {
  custom: {
    50: '#c19cf5',
    500: '#a273ef',
    950: '#000000',
  },
}
SCSS
$custom: #a273ef;
$custom-light: #c19cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a273ef",
  "rgb": {
    "r": 162,
    "g": 115,
    "b": 239
  },
  "hsl": {
    "h": 262.742,
    "s": 79.487,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65792,
    "c": 0.18068,
    "h": 298.8
  },
  "luminance": 0.26175
}

Semantic roles & 50–950 ramp

primary
#A273EF
secondary
#E3F1CD
accent
#DC0A8C
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #A273EF

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

Preview Lab → · Contrast checker → · Palette generator →

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