#A273FC#A273FC

#A273FC is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.6% C 0.197 H 296.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A273FC
RGBrgb(162, 115, 252)
HSLhsl(261, 96%, 72%)
HSVhsv(261, 54%, 99%)
CMYKcmyk(35.7%, 54.4%, 0%, 1.2%)
CIE-LABlab(58.95, 47.21, -62.06)
CIE-LCHlch(58.95, 77.98, 307.26°)
OKLaboklab(66.58% 0.0877 -0.1759)
OKLCHoklch(66.58% 0.197 296.5)
XYZxyz(38.5973, 26.9705, 95.2489)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A273FC #CDFC73
analogous
#7389FC #A273FC #E773FC
triadic
#A273FC #FCA273 #73FCA2
tetradic
#A273FC #FC7389 #CDFC73 #73FCE7
square
#A273FC #FC7389 #CDFC73 #73FCE7
split-complementary
#A273FC #FCE773 #89FC73
monochromatic
#5605EF #7A37FB #A273FC #CAAFFD #EBE1FE

Accessibility & contrast

On white

3.28
#A273FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#A273FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A273FC
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A273FC#FFFFFF#000000##000000
##A273FC1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#358FFF
Deuteranopia (green-blind)
#448CF9
Tritanopia (blue-blind)
#8D8FAD
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a273fc;
/* rgb */ color: rgb(162, 115, 252);
/* oklch */ color: oklch(66.6% 0.197 296.5);
Tailwind
colors: {
  custom: {
    50: '#c29dfe',
    500: '#a273fc',
    950: '#000000',
  },
}
SCSS
$custom: #a273fc;
$custom-light: #c29dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#a273fc",
  "rgb": {
    "r": 162,
    "g": 115,
    "b": 252
  },
  "hsl": {
    "h": 260.584,
    "s": 95.804,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66583,
    "c": 0.19655,
    "h": 296.5
  },
  "luminance": 0.26971
}

Semantic roles & 50–950 ramp

primary
#A273FC
secondary
#EBF7D4
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A273FC

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

Preview Lab → · Contrast checker → · Palette generator →

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