#7727A9#7727A9

#7727A9 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 46.0% C 0.196 H 308.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7727A9
RGBrgb(119, 39, 169)
HSLhsl(277, 63%, 41%)
HSVhsv(277, 77%, 66%)
CMYKcmyk(29.6%, 76.9%, 0%, 33.7%)
CIE-LABlab(34.47, 55.57, -54.16)
CIE-LCHlch(34.47, 77.60, 315.74°)
OKLaboklab(46.02% 0.1218 -0.1538)
OKLCHoklch(46.02% 0.196 308.4)
XYZxyz(15.4932, 8.2378, 38.3023)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7727A9 #59A927
analogous
#3627A9 #7727A9 #A9279A
triadic
#7727A9 #A97727 #27A977
tetradic
#7727A9 #A93627 #59A927 #279AA9
square
#7727A9 #A93627 #59A927 #279AA9
split-complementary
#7727A9 #9AA927 #27A936
monochromatic
#311046 #541C77 #7727A9 #983BD2 #B26DDD

Accessibility & contrast

On white

7.93
#7727A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7727A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7727A9#FFFFFF#000000##FFFFFF
##7727A91.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAD
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#6F4767
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7727a9;
/* rgb */ color: rgb(119, 39, 169);
/* oklch */ color: oklch(46.0% 0.196 308.4);
Tailwind
colors: {
  custom: {
    50: '#a36ac3',
    500: '#7727a9',
    950: '#000000',
  },
}
SCSS
$custom: #7727a9;
$custom-light: #a36ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7727a9",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 276.923,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46015,
    "c": 0.19622,
    "h": 308.4
  },
  "luminance": 0.08238
}

Semantic roles & 50–950 ramp

primary
#7727A9
secondary
#8BC468
accent
#E64281
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7727A9

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

Preview Lab → · Contrast checker → · Palette generator →

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