#7727A2#7727A2

#7727A2 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.189 H 310.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7727A2
RGBrgb(119, 39, 162)
HSLhsl(279, 61%, 39%)
HSVhsv(279, 76%, 64%)
CMYKcmyk(26.5%, 75.9%, 0%, 36.5%)
CIE-LABlab(33.95, 54.04, -50.80)
CIE-LCHlch(33.95, 74.17, 316.77°)
OKLaboklab(45.48% 0.1232 -0.1439)
OKLCHoklch(45.48% 0.189 310.6)
XYZxyz(14.8536, 7.9820, 34.9336)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7727A2 #52A227
analogous
#3927A2 #7727A2 #A22790
triadic
#7727A2 #A27727 #27A277
tetradic
#7727A2 #A23927 #52A227 #2790A2
square
#7727A2 #A23927 #52A227 #2790A2
split-complementary
#7727A2 #90A227 #27A239
monochromatic
#2F0F3F #531B71 #7727A2 #9A37CF #B369DB

Accessibility & contrast

On white

8.09
#7727A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7727A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7727A2#FFFFFF#000000##FFFFFF
##7727A21.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#09519F
Tritanopia (blue-blind)
#714463
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7727a2;
/* rgb */ color: rgb(119, 39, 162);
/* oklch */ color: oklch(45.5% 0.189 310.6);
Tailwind
colors: {
  custom: {
    50: '#a36abe',
    500: '#7727a2',
    950: '#000000',
  },
}
SCSS
$custom: #7727a2;
$custom-light: #a36abe;
$custom-dark: #000000;
JSON
{
  "hex": "#7727a2",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 279.024,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45477,
    "c": 0.18947,
    "h": 310.6
  },
  "luminance": 0.07982
}

Semantic roles & 50–950 ramp

primary
#7727A2
secondary
#84C164
accent
#E4437C
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7727A2

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

Preview Lab → · Contrast checker → · Palette generator →

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