#A273F6#A273F6

#A273F6 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.2% C 0.189 H 297.5°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A273F6
RGBrgb(162, 115, 246)
HSLhsl(262, 88%, 71%)
HSVhsv(262, 53%, 96%)
CMYKcmyk(34.1%, 53.3%, 0%, 3.5%)
CIE-LABlab(58.60, 45.70, -59.30)
CIE-LCHlch(58.60, 74.87, 307.62°)
OKLaboklab(66.21% 0.0875 -0.1678)
OKLCHoklch(66.21% 0.189 297.5)
XYZxyz(37.6614, 26.5962, 90.3203)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A273F6 #C7F673
analogous
#7385F6 #A273F6 #E473F6
triadic
#A273F6 #F6A273 #73F6A2
tetradic
#A273F6 #F67385 #C7F673 #73F6E4
square
#A273F6 #F67385 #C7F673 #73F6E4
split-complementary
#A273F6 #F6E473 #85F673
monochromatic
#5A0EE0 #7C39F2 #A273F6 #C8ADFA #ECE2FD

Accessibility & contrast

On white

3.32
#A273F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#A273F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A273F6
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A273F6#FFFFFF#000000##000000
##A273F61.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8DFA
Deuteranopia (green-blind)
#4B8BF3
Tritanopia (blue-blind)
#8F8DAA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a273f6;
/* rgb */ color: rgb(162, 115, 246);
/* oklch */ color: oklch(66.2% 0.189 297.5);
Tailwind
colors: {
  custom: {
    50: '#c19cfa',
    500: '#a273f6',
    950: '#000000',
  },
}
SCSS
$custom: #a273f6;
$custom-light: #c19cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#a273f6",
  "rgb": {
    "r": 162,
    "g": 115,
    "b": 246
  },
  "hsl": {
    "h": 261.527,
    "s": 87.919,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66213,
    "c": 0.18925,
    "h": 297.5
  },
  "luminance": 0.26597
}

Semantic roles & 50–950 ramp

primary
#A273F6
secondary
#E7F4D1
accent
#E40193
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A273F6

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

Preview Lab → · Contrast checker → · Palette generator →

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