#A273FB#A273FB

#A273FB is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.5% C 0.195 H 296.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A273FB
RGBrgb(162, 115, 251)
HSLhsl(261, 94%, 72%)
HSVhsv(261, 54%, 98%)
CMYKcmyk(35.5%, 54.2%, 0%, 1.6%)
CIE-LABlab(58.89, 46.96, -61.60)
CIE-LCHlch(58.89, 77.46, 307.32°)
OKLaboklab(66.52% 0.0877 -0.1745)
OKLCHoklch(66.52% 0.195 296.7)
XYZxyz(38.4392, 26.9073, 94.4165)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A273FB #CCFB73
analogous
#7388FB #A273FB #E673FB
triadic
#A273FB #FBA273 #73FBA2
tetradic
#A273FB #FB7388 #CCFB73 #73FBE6
square
#A273FB #FB7388 #CCFB73 #73FBE6
split-complementary
#A273FB #FBE673 #88FB73
monochromatic
#5607ED #7A38F9 #A273FB #CAAFFD #EBE1FE

Accessibility & contrast

On white

3.29
#A273FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#A273FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A273FB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A273FB#FFFFFF#000000##000000
##A273FB1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#378EFF
Deuteranopia (green-blind)
#458CF8
Tritanopia (blue-blind)
#8D8FAC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a273fb;
/* rgb */ color: rgb(162, 115, 251);
/* oklch */ color: oklch(66.5% 0.195 296.7);
Tailwind
colors: {
  custom: {
    50: '#c29dfd',
    500: '#a273fb',
    950: '#000000',
  },
}
SCSS
$custom: #a273fb;
$custom-light: #c29dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a273fb",
  "rgb": {
    "r": 162,
    "g": 115,
    "b": 251
  },
  "hsl": {
    "h": 260.735,
    "s": 94.444,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66521,
    "c": 0.19534,
    "h": 296.7
  },
  "luminance": 0.26908
}

Semantic roles & 50–950 ramp

primary
#A273FB
secondary
#EAF6D4
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A273FB

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

Preview Lab → · Contrast checker → · Palette generator →

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