#A273E7#A273E7

#A273E7 is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.3% C 0.171 H 300.5°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A273E7
RGBrgb(162, 115, 231)
HSLhsl(264, 71%, 68%)
HSVhsv(264, 50%, 91%)
CMYKcmyk(29.9%, 50.2%, 0%, 9.4%)
CIE-LABlab(57.76, 41.97, -52.30)
CIE-LCHlch(57.76, 67.06, 308.75°)
OKLaboklab(65.32% 0.0866 -0.1473)
OKLCHoklch(65.32% 0.171 300.5)
XYZxyz(35.4515, 25.7122, 78.6810)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A273E7 #B8E773
analogous
#737EE7 #A273E7 #DC73E7
triadic
#A273E7 #E7A273 #73E7A2
tetradic
#A273E7 #E7737E #B8E773 #73E7DC
square
#A273E7 #E7737E #B8E773 #73E7DC
split-complementary
#A273E7 #E7DC73 #7EE773
monochromatic
#6121BF #7F3FDE #A273E7 #C5A7F0 #E7DBF9

Accessibility & contrast

On white

3.42
#A273E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#A273E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A273E7
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A273E7#FFFFFF#000000##000000
##A273E71.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8AEB
Deuteranopia (green-blind)
#588AE4
Tritanopia (blue-blind)
#9489A2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a273e7;
/* rgb */ color: rgb(162, 115, 231);
/* oklch */ color: oklch(65.3% 0.171 300.5);
Tailwind
colors: {
  custom: {
    50: '#c09cef',
    500: '#a273e7',
    950: '#000000',
  },
}
SCSS
$custom: #a273e7;
$custom-light: #c09cef;
$custom-dark: #000000;
JSON
{
  "hex": "#a273e7",
  "rgb": {
    "r": 162,
    "g": 115,
    "b": 231
  },
  "hsl": {
    "h": 264.31,
    "s": 70.732,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65323,
    "c": 0.17083,
    "h": 300.5
  },
  "luminance": 0.25712
}

Semantic roles & 50–950 ramp

primary
#A273E7
secondary
#DEEDC9
accent
#D31385
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A273E7

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

Preview Lab → · Contrast checker → · Palette generator →

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