#7727AA#7727AA

#7727AA is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.1% C 0.197 H 308.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#7727AA
RGBrgb(119, 39, 170)
HSLhsl(277, 63%, 41%)
HSVhsv(277, 77%, 67%)
CMYKcmyk(30%, 77.1%, 0%, 33.3%)
CIE-LABlab(34.55, 55.79, -54.64)
CIE-LCHlch(34.55, 78.09, 315.60°)
OKLaboklab(46.09% 0.1216 -0.1552)
OKLCHoklch(46.09% 0.197 308.1)
XYZxyz(15.5874, 8.2755, 38.7986)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7727AA #5AAA27
analogous
#3527AA #7727AA #AA279B
triadic
#7727AA #AA7727 #27AA77
tetradic
#7727AA #AA3527 #5AAA27 #279BAA
square
#7727AA #AA3527 #5AAA27 #279BAA
split-complementary
#7727AA #9BAA27 #27AA35
monochromatic
#311046 #541C78 #7727AA #983CD2 #B26EDE

Accessibility & contrast

On white

7.91
#7727AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7727AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7727AA#FFFFFF#000000##FFFFFF
##7727AA1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0052A7
Tritanopia (blue-blind)
#6F4768
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7727aa;
/* rgb */ color: rgb(119, 39, 170);
/* oklch */ color: oklch(46.1% 0.197 308.1);
Tailwind
colors: {
  custom: {
    50: '#a36ac4',
    500: '#7727aa',
    950: '#000000',
  },
}
SCSS
$custom: #7727aa;
$custom-light: #a36ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7727aa",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 276.641,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.46093,
    "c": 0.19718,
    "h": 308.1
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#7727AA
secondary
#8CC469
accent
#E64282
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7727AA

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

Preview Lab → · Contrast checker → · Palette generator →

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