#A273F8#A273F8

#A273F8 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.3% C 0.192 H 297.2°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A273F8
RGBrgb(162, 115, 248)
HSLhsl(261, 90%, 71%)
HSVhsv(261, 54%, 97%)
CMYKcmyk(34.7%, 53.6%, 0%, 2.7%)
CIE-LABlab(58.71, 46.20, -60.22)
CIE-LCHlch(58.71, 75.90, 307.50°)
OKLaboklab(66.34% 0.0876 -0.1705)
OKLCHoklch(66.34% 0.192 297.2)
XYZxyz(37.9701, 26.7196, 91.9457)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A273F8 #C9F873
analogous
#7386F8 #A273F8 #E473F8
triadic
#A273F8 #F8A273 #73F8A2
tetradic
#A273F8 #F87386 #C9F873 #73F8E4
square
#A273F8 #F87386 #C9F873 #73F8E4
split-complementary
#A273F8 #F8E473 #86F873
monochromatic
#580BE5 #7B39F5 #A273F8 #C9ADFB #ECE2FE

Accessibility & contrast

On white

3.31
#A273F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#A273F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A273F8
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A273F8#FFFFFF#000000##000000
##A273F81.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8EFD
Deuteranopia (green-blind)
#498CF5
Tritanopia (blue-blind)
#8F8EAB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a273f8;
/* rgb */ color: rgb(162, 115, 248);
/* oklch */ color: oklch(66.3% 0.192 297.2);
Tailwind
colors: {
  custom: {
    50: '#c29cfb',
    500: '#a273f8',
    950: '#000000',
  },
}
SCSS
$custom: #a273f8;
$custom-light: #c29cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a273f8",
  "rgb": {
    "r": 162,
    "g": 115,
    "b": 248
  },
  "hsl": {
    "h": 261.203,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66336,
    "c": 0.19169,
    "h": 297.2
  },
  "luminance": 0.2672
}

Semantic roles & 50–950 ramp

primary
#A273F8
secondary
#E9F5D2
accent
#E60094
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A273F8

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

Preview Lab → · Contrast checker → · Palette generator →

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