#A273F5#A273F5

#A273F5 is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.2% C 0.188 H 297.7°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A273F5
RGBrgb(162, 115, 245)
HSLhsl(262, 87%, 71%)
HSVhsv(262, 53%, 96%)
CMYKcmyk(33.9%, 53.1%, 0%, 3.9%)
CIE-LABlab(58.54, 45.45, -58.84)
CIE-LCHlch(58.54, 74.35, 307.68°)
OKLaboklab(66.15% 0.0875 -0.1664)
OKLCHoklch(66.15% 0.188 297.7)
XYZxyz(37.5084, 26.5350, 89.5141)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A273F5 #C6F573
analogous
#7385F5 #A273F5 #E373F5
triadic
#A273F5 #F5A273 #73F5A2
tetradic
#A273F5 #F57385 #C6F573 #73F5E3
square
#A273F5 #F57385 #C6F573 #73F5E3
split-complementary
#A273F5 #F5E373 #85F573
monochromatic
#5A10DE #7C3AF1 #A273F5 #C8ACF9 #ECE2FD

Accessibility & contrast

On white

3.33
#A273F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#A273F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A273F5
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A273F5#FFFFFF#000000##000000
##A273F51.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8DF9
Deuteranopia (green-blind)
#4C8BF2
Tritanopia (blue-blind)
#908DA9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a273f5;
/* rgb */ color: rgb(162, 115, 245);
/* oklch */ color: oklch(66.2% 0.188 297.7);
Tailwind
colors: {
  custom: {
    50: '#c19cf9',
    500: '#a273f5',
    950: '#000000',
  },
}
SCSS
$custom: #a273f5;
$custom-light: #c19cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#a273f5",
  "rgb": {
    "r": 162,
    "g": 115,
    "b": 245
  },
  "hsl": {
    "h": 261.692,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66153,
    "c": 0.18803,
    "h": 297.7
  },
  "luminance": 0.26535
}

Semantic roles & 50–950 ramp

primary
#A273F5
secondary
#E7F4D0
accent
#E30292
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A273F5

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

Preview Lab → · Contrast checker → · Palette generator →

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