#A277F3#A277F3

#A277F3 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.7% C 0.180 H 297.3°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A277F3
RGBrgb(162, 119, 243)
HSLhsl(261, 84%, 71%)
HSVhsv(261, 51%, 95%)
CMYKcmyk(33.3%, 51%, 0%, 4.7%)
CIE-LABlab(59.29, 42.74, -56.53)
CIE-LCHlch(59.29, 70.87, 307.09°)
OKLaboklab(66.67% 0.0824 -0.1597)
OKLCHoklch(66.67% 0.18 297.3)
XYZxyz(37.6708, 27.3456, 88.0702)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A277F3 #C8F377
analogous
#778AF3 #A277F3 #E077F3
triadic
#A277F3 #F3A277 #77F3A2
tetradic
#A277F3 #F3778A #C8F377 #77F3E0
square
#A277F3 #F3778A #C8F377 #77F3E0
split-complementary
#A277F3 #F3E077 #8AF377
monochromatic
#5913DC #7C3FEE #A277F3 #C8AFF8 #ECE3FD

Accessibility & contrast

On white

3.25
#A277F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#A277F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A277F3
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A277F3#FFFFFF#000000##000000
##A277F31.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#488FF7
Deuteranopia (green-blind)
#538DF0
Tritanopia (blue-blind)
#908FAA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a277f3;
/* rgb */ color: rgb(162, 119, 243);
/* oklch */ color: oklch(66.7% 0.180 297.3);
Tailwind
colors: {
  custom: {
    50: '#c19ff8',
    500: '#a277f3',
    950: '#000000',
  },
}
SCSS
$custom: #a277f3;
$custom-light: #c19ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#a277f3",
  "rgb": {
    "r": 162,
    "g": 119,
    "b": 243
  },
  "hsl": {
    "h": 260.806,
    "s": 83.784,
    "l": 70.98
  },
  "oklch": {
    "l": 0.66674,
    "c": 0.17967,
    "h": 297.3
  },
  "luminance": 0.27346
}

Semantic roles & 50–950 ramp

primary
#A277F3
secondary
#E8F3D2
accent
#E00594
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A277F3

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

Preview Lab → · Contrast checker → · Palette generator →

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