#A273F2#A273F2

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

Color values

HEX#A273F2
RGBrgb(162, 115, 242)
HSLhsl(262, 83%, 70%)
HSVhsv(262, 52%, 95%)
CMYKcmyk(33.1%, 52.5%, 0%, 5.1%)
CIE-LABlab(58.37, 44.70, -57.45)
CIE-LCHlch(58.37, 72.79, 307.88°)
OKLaboklab(65.97% 0.0873 -0.1624)
OKLCHoklch(65.97% 0.184 298.3)
XYZxyz(37.0541, 26.3532, 87.1217)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A273F2 #C3F273
analogous
#7383F2 #A273F2 #E273F2
triadic
#A273F2 #F2A273 #73F2A2
tetradic
#A273F2 #F27383 #C3F273 #73F2E2
square
#A273F2 #F27383 #C3F273 #73F2E2
split-complementary
#A273F2 #F2E273 #83F273
monochromatic
#5C14D7 #7D3BED #A273F2 #C7ABF7 #ECE3FC

Accessibility & contrast

On white

3.35
#A273F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#A273F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A273F2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A273F2#FFFFFF#000000##000000
##A273F21.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#418CF6
Deuteranopia (green-blind)
#4F8BEF
Tritanopia (blue-blind)
#918CA8
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a273f2;
/* rgb */ color: rgb(162, 115, 242);
/* oklch */ color: oklch(66.0% 0.184 298.3);
Tailwind
colors: {
  custom: {
    50: '#c19cf7',
    500: '#a273f2',
    950: '#000000',
  },
}
SCSS
$custom: #a273f2;
$custom-light: #c19cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#a273f2",
  "rgb": {
    "r": 162,
    "g": 115,
    "b": 242
  },
  "hsl": {
    "h": 262.205,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.65971,
    "c": 0.18436,
    "h": 298.3
  },
  "luminance": 0.26354
}

Semantic roles & 50–950 ramp

primary
#A273F2
secondary
#E5F2CF
accent
#DF068F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A273F2

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

Preview Lab → · Contrast checker → · Palette generator →

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