#A277F9#A277F9

#A277F9 is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.0% C 0.187 H 296.3°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A277F9
RGBrgb(162, 119, 249)
HSLhsl(260, 92%, 72%)
HSVhsv(260, 52%, 98%)
CMYKcmyk(34.9%, 52.2%, 0%, 2.4%)
CIE-LABlab(59.63, 44.26, -59.31)
CIE-LCHlch(59.63, 74.00, 306.73°)
OKLaboklab(67.03% 0.0828 -0.1678)
OKLCHoklch(67.03% 0.187 296.3)
XYZxyz(38.5917, 27.7140, 92.9203)
Luminance0.2772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A277F9 #CEF977
analogous
#778DF9 #A277F9 #E377F9
triadic
#A277F9 #F9A277 #77F9A2
tetradic
#A277F9 #F9778D #CEF977 #77F9E3
square
#A277F9 #F9778D #CEF977 #77F9E3
split-complementary
#A277F9 #F9E377 #8DF977
monochromatic
#550AEB #7A3CF6 #A277F9 #CAB2FC #EBE2FE

Accessibility & contrast

On white

3.21
#A277F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#A277F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A277F9
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A277F9#FFFFFF#000000##000000
##A277F91.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4290FD
Deuteranopia (green-blind)
#4E8EF6
Tritanopia (blue-blind)
#8E91AD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a277f9;
/* rgb */ color: rgb(162, 119, 249);
/* oklch */ color: oklch(67.0% 0.187 296.3);
Tailwind
colors: {
  custom: {
    50: '#c29ffc',
    500: '#a277f9',
    950: '#000000',
  },
}
SCSS
$custom: #a277f9;
$custom-light: #c29ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#a277f9",
  "rgb": {
    "r": 162,
    "g": 119,
    "b": 249
  },
  "hsl": {
    "h": 259.846,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67032,
    "c": 0.18712,
    "h": 296.3
  },
  "luminance": 0.27715
}

Semantic roles & 50–950 ramp

primary
#A277F9
secondary
#EBF6D5
accent
#E6009A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A277F9

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

Preview Lab → · Contrast checker → · Palette generator →

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