#A273FA#A273FA

#A273FA is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.5% C 0.194 H 296.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A273FA
RGBrgb(162, 115, 250)
HSLhsl(261, 93%, 72%)
HSVhsv(261, 54%, 98%)
CMYKcmyk(35.2%, 54%, 0%, 2%)
CIE-LABlab(58.83, 46.71, -61.14)
CIE-LCHlch(58.83, 76.94, 307.38°)
OKLaboklab(66.46% 0.0877 -0.1732)
OKLCHoklch(66.46% 0.194 296.9)
XYZxyz(38.2820, 26.8444, 93.5885)
Luminance0.2685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A273FA #CBFA73
analogous
#7388FA #A273FA #E673FA
triadic
#A273FA #FAA273 #73FAA2
tetradic
#A273FA #FA7388 #CBFA73 #73FAE6
square
#A273FA #FA7388 #CBFA73 #73FAE6
split-complementary
#A273FA #FAE673 #88FA73
monochromatic
#5708EA #7B38F8 #A273FA #C9AEFC #EBE1FE

Accessibility & contrast

On white

3.30
#A273FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#A273FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A273FA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A273FA#FFFFFF#000000##000000
##A273FA1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#388EFF
Deuteranopia (green-blind)
#478CF7
Tritanopia (blue-blind)
#8E8EAC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a273fa;
/* rgb */ color: rgb(162, 115, 250);
/* oklch */ color: oklch(66.5% 0.194 296.9);
Tailwind
colors: {
  custom: {
    50: '#c29dfd',
    500: '#a273fa',
    950: '#000000',
  },
}
SCSS
$custom: #a273fa;
$custom-light: #c29dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a273fa",
  "rgb": {
    "r": 162,
    "g": 115,
    "b": 250
  },
  "hsl": {
    "h": 260.889,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.66459,
    "c": 0.19412,
    "h": 296.9
  },
  "luminance": 0.26845
}

Semantic roles & 50–950 ramp

primary
#A273FA
secondary
#EAF6D3
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A273FA

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

Preview Lab → · Contrast checker → · Palette generator →

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