#7727A7#7727A7

#7727A7 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.194 H 309.0°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#7727A7
RGBrgb(119, 39, 167)
HSLhsl(278, 62%, 40%)
HSVhsv(278, 77%, 65%)
CMYKcmyk(28.7%, 76.6%, 0%, 34.5%)
CIE-LABlab(34.32, 55.13, -53.21)
CIE-LCHlch(34.32, 76.62, 316.02°)
OKLaboklab(45.86% 0.1223 -0.151)
OKLCHoklch(45.86% 0.194 309)
XYZxyz(15.3069, 8.1633, 37.3210)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7727A7 #57A727
analogous
#3727A7 #7727A7 #A72797
triadic
#7727A7 #A77727 #27A777
tetradic
#7727A7 #A73727 #57A727 #2797A7
square
#7727A7 #A73727 #57A727 #2797A7
split-complementary
#7727A7 #97A727 #27A737
monochromatic
#301044 #541B75 #7727A7 #983AD1 #B26CDD

Accessibility & contrast

On white

7.98
#7727A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7727A7#FFFFFF#000000##FFFFFF
##7727A71.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#704666
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7727a7;
/* rgb */ color: rgb(119, 39, 167);
/* oklch */ color: oklch(45.9% 0.194 309.0);
Tailwind
colors: {
  custom: {
    50: '#a36ac2',
    500: '#7727a7',
    950: '#000000',
  },
}
SCSS
$custom: #7727a7;
$custom-light: #a36ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#7727a7",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 277.5,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45859,
    "c": 0.19429,
    "h": 309
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#7727A7
secondary
#89C367
accent
#E54380
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7727A7

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

Preview Lab → · Contrast checker → · Palette generator →

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