#A273F3#A273F3

#A273F3 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.0% C 0.186 H 298.1°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A273F3
RGBrgb(162, 115, 243)
HSLhsl(262, 84%, 70%)
HSVhsv(262, 53%, 95%)
CMYKcmyk(33.3%, 52.7%, 0%, 4.7%)
CIE-LABlab(58.43, 44.95, -57.91)
CIE-LCHlch(58.43, 73.31, 307.82°)
OKLaboklab(66.03% 0.0874 -0.1637)
OKLCHoklch(66.03% 0.186 298.1)
XYZxyz(37.2047, 26.4135, 87.9148)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A273F3 #C4F373
analogous
#7384F3 #A273F3 #E273F3
triadic
#A273F3 #F3A273 #73F3A2
tetradic
#A273F3 #F37384 #C4F373 #73F3E2
square
#A273F3 #F37384 #C4F373 #73F3E2
split-complementary
#A273F3 #F3E273 #84F373
monochromatic
#5B13D9 #7D3BEE #A273F3 #C7ABF8 #ECE3FD

Accessibility & contrast

On white

3.34
#A273F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#A273F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A273F3
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A273F3#FFFFFF#000000##000000
##A273F31.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#408DF7
Deuteranopia (green-blind)
#4E8BF0
Tritanopia (blue-blind)
#908CA8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a273f3;
/* rgb */ color: rgb(162, 115, 243);
/* oklch */ color: oklch(66.0% 0.186 298.1);
Tailwind
colors: {
  custom: {
    50: '#c19cf8',
    500: '#a273f3',
    950: '#000000',
  },
}
SCSS
$custom: #a273f3;
$custom-light: #c19cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#a273f3",
  "rgb": {
    "r": 162,
    "g": 115,
    "b": 243
  },
  "hsl": {
    "h": 262.031,
    "s": 84.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66031,
    "c": 0.18558,
    "h": 298.1
  },
  "luminance": 0.26414
}

Semantic roles & 50–950 ramp

primary
#A273F3
secondary
#E6F3CF
accent
#E10590
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A273F3

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

Preview Lab → · Contrast checker → · Palette generator →

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