#A377F5#A377F5

#A377F5 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.9% C 0.182 H 297.3°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A377F5
RGBrgb(163, 119, 245)
HSLhsl(261, 86%, 71%)
HSVhsv(261, 51%, 96%)
CMYKcmyk(33.5%, 51.4%, 0%, 3.9%)
CIE-LABlab(59.50, 43.49, -57.30)
CIE-LCHlch(59.50, 71.93, 307.19°)
OKLaboklab(66.89% 0.0837 -0.1619)
OKLCHoklch(66.89% 0.182 297.3)
XYZxyz(38.1784, 27.5723, 89.6790)
Luminance0.2757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A377F5 #C9F577
analogous
#778AF5 #A377F5 #E277F5
triadic
#A377F5 #F5A377 #77F5A3
tetradic
#A377F5 #F5778A #C9F577 #77F5E2
square
#A377F5 #F5778A #C9F577 #77F5E2
split-complementary
#A377F5 #F5E277 #8AF577
monochromatic
#5911E1 #7C3EF1 #A377F5 #CAB0F9 #ECE2FD

Accessibility & contrast

On white

3.22
#A377F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#A377F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A377F5
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A377F5#FFFFFF#000000##000000
##A377F51.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4790F9
Deuteranopia (green-blind)
#528EF2
Tritanopia (blue-blind)
#9190AB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a377f5;
/* rgb */ color: rgb(163, 119, 245);
/* oklch */ color: oklch(66.9% 0.182 297.3);
Tailwind
colors: {
  custom: {
    50: '#c29ff9',
    500: '#a377f5',
    950: '#000000',
  },
}
SCSS
$custom: #a377f5;
$custom-light: #c29ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#a377f5",
  "rgb": {
    "r": 163,
    "g": 119,
    "b": 245
  },
  "hsl": {
    "h": 260.952,
    "s": 86.301,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66886,
    "c": 0.18227,
    "h": 297.3
  },
  "luminance": 0.27573
}

Semantic roles & 50–950 ramp

primary
#A377F5
secondary
#E9F4D4
accent
#E30395
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A377F5

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

Preview Lab → · Contrast checker → · Palette generator →

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