#7727AC#7727AC

#7727AC is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.3% C 0.199 H 307.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#7727AC
RGBrgb(119, 39, 172)
HSLhsl(276, 63%, 41%)
HSVhsv(276, 77%, 67%)
CMYKcmyk(30.8%, 77.3%, 0%, 32.5%)
CIE-LABlab(34.71, 56.24, -55.58)
CIE-LCHlch(34.71, 79.07, 315.34°)
OKLaboklab(46.25% 0.1212 -0.158)
OKLCHoklch(46.25% 0.199 307.5)
XYZxyz(15.7781, 8.3518, 39.8026)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7727AC #5CAC27
analogous
#3527AC #7727AC #AC279F
triadic
#7727AC #AC7727 #27AC77
tetradic
#7727AC #AC3527 #5CAC27 #279FAC
square
#7727AC #AC3527 #5CAC27 #279FAC
split-complementary
#7727AC #9FAC27 #27AC35
monochromatic
#321048 #541C7A #7727AC #973DD3 #B26FDE

Accessibility & contrast

On white

7.86
#7727AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7727AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7727AC#FFFFFF#000000##FFFFFF
##7727AC1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#6E4869
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7727ac;
/* rgb */ color: rgb(119, 39, 172);
/* oklch */ color: oklch(46.3% 0.199 307.5);
Tailwind
colors: {
  custom: {
    50: '#a36ac6',
    500: '#7727ac',
    950: '#000000',
  },
}
SCSS
$custom: #7727ac;
$custom-light: #a36ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#7727ac",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 276.09,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4625,
    "c": 0.19911,
    "h": 307.5
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#7727AC
secondary
#8EC56A
accent
#E64283
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7727AC

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

Preview Lab → · Contrast checker → · Palette generator →

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