#7727AB#7727AB

#7727AB is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.2% C 0.198 H 307.8°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#7727AB
RGBrgb(119, 39, 171)
HSLhsl(276, 63%, 41%)
HSVhsv(276, 77%, 67%)
CMYKcmyk(30.4%, 77.2%, 0%, 32.9%)
CIE-LABlab(34.63, 56.02, -55.11)
CIE-LCHlch(34.63, 78.58, 315.47°)
OKLaboklab(46.17% 0.1214 -0.1566)
OKLCHoklch(46.17% 0.198 307.8)
XYZxyz(15.6824, 8.3135, 39.2987)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7727AB #5BAB27
analogous
#3527AB #7727AB #AB279D
triadic
#7727AB #AB7727 #27AB77
tetradic
#7727AB #AB3527 #5BAB27 #279DAB
square
#7727AB #AB3527 #5BAB27 #279DAB
split-complementary
#7727AB #9DAB27 #27AB35
monochromatic
#321047 #541C79 #7727AB #983DD3 #B26EDE

Accessibility & contrast

On white

7.89
#7727AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7727AB#FFFFFF#000000##FFFFFF
##7727AB1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#6E4868
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7727ab;
/* rgb */ color: rgb(119, 39, 171);
/* oklch */ color: oklch(46.2% 0.198 307.8);
Tailwind
colors: {
  custom: {
    50: '#a36ac5',
    500: '#7727ab',
    950: '#000000',
  },
}
SCSS
$custom: #7727ab;
$custom-light: #a36ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#7727ab",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 276.364,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46171,
    "c": 0.19814,
    "h": 307.8
  },
  "luminance": 0.08313
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7727AB

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

Preview Lab → · Contrast checker → · Palette generator →

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