#7727A4#7727A4

#7727A4 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.191 H 309.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7727A4
RGBrgb(119, 39, 164)
HSLhsl(278, 62%, 40%)
HSVhsv(278, 76%, 64%)
CMYKcmyk(27.4%, 76.2%, 0%, 35.7%)
CIE-LABlab(34.09, 54.47, -51.77)
CIE-LCHlch(34.09, 75.15, 316.46°)
OKLaboklab(45.63% 0.1228 -0.1468)
OKLCHoklch(45.63% 0.191 309.9)
XYZxyz(15.0328, 8.0536, 35.8774)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7727A4 #54A427
analogous
#3927A4 #7727A4 #A42793
triadic
#7727A4 #A47727 #27A477
tetradic
#7727A4 #A43927 #54A427 #2793A4
square
#7727A4 #A43927 #54A427 #2793A4
split-complementary
#7727A4 #93A427 #27A439
monochromatic
#2F0F41 #531B73 #7727A4 #9938D0 #B36ADC

Accessibility & contrast

On white

8.04
#7727A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7727A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7727A4
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7727A4#FFFFFF#000000##FFFFFF
##7727A41.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0251A1
Tritanopia (blue-blind)
#714564
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7727a4;
/* rgb */ color: rgb(119, 39, 164);
/* oklch */ color: oklch(45.6% 0.191 309.9);
Tailwind
colors: {
  custom: {
    50: '#a36ac0',
    500: '#7727a4',
    950: '#000000',
  },
}
SCSS
$custom: #7727a4;
$custom-light: #a36ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#7727a4",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 278.4,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45629,
    "c": 0.1914,
    "h": 309.9
  },
  "luminance": 0.08053
}

Semantic roles & 50–950 ramp

primary
#7727A4
secondary
#86C265
accent
#E5437D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7727A4

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

Preview Lab → · Contrast checker → · Palette generator →

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