#7727A6#7727A6

#7727A6 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.8% C 0.193 H 309.3°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7727A6
RGBrgb(119, 39, 166)
HSLhsl(278, 62%, 40%)
HSVhsv(278, 77%, 65%)
CMYKcmyk(28.3%, 76.5%, 0%, 34.9%)
CIE-LABlab(34.24, 54.91, -52.73)
CIE-LCHlch(34.24, 76.13, 316.16°)
OKLaboklab(45.78% 0.1225 -0.1496)
OKLCHoklch(45.78% 0.193 309.3)
XYZxyz(15.2148, 8.1264, 36.8361)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7727A6 #56A627
analogous
#3727A6 #7727A6 #A62796
triadic
#7727A6 #A67727 #27A677
tetradic
#7727A6 #A63727 #56A627 #2796A6
square
#7727A6 #A63727 #56A627 #2796A6
split-complementary
#7727A6 #96A627 #27A637
monochromatic
#301043 #531B74 #7727A6 #993AD1 #B26BDC

Accessibility & contrast

On white

8.00
#7727A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7727A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7727A6
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7727A6#FFFFFF#000000##FFFFFF
##7727A61.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#0052A3
Tritanopia (blue-blind)
#704665
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7727a6;
/* rgb */ color: rgb(119, 39, 166);
/* oklch */ color: oklch(45.8% 0.193 309.3);
Tailwind
colors: {
  custom: {
    50: '#a36ac1',
    500: '#7727a6',
    950: '#000000',
  },
}
SCSS
$custom: #7727a6;
$custom-light: #a36ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#7727a6",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 277.795,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45782,
    "c": 0.19332,
    "h": 309.3
  },
  "luminance": 0.08126
}

Semantic roles & 50–950 ramp

primary
#7727A6
secondary
#88C366
accent
#E5437F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7727A6

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

Preview Lab → · Contrast checker → · Palette generator →

#7727A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva