#7727AE#7727AE

#7727AE is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.4% C 0.201 H 306.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#7727AE
RGBrgb(119, 39, 174)
HSLhsl(276, 63%, 42%)
HSVhsv(276, 78%, 68%)
CMYKcmyk(31.6%, 77.6%, 0%, 31.8%)
CIE-LABlab(34.86, 56.68, -56.52)
CIE-LCHlch(34.86, 80.05, 315.08°)
OKLaboklab(46.41% 0.1207 -0.1607)
OKLCHoklch(46.41% 0.201 306.9)
XYZxyz(15.9716, 8.4292, 40.8218)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7727AE #5EAE27
analogous
#3427AE #7727AE #AE27A1
triadic
#7727AE #AE7727 #27AE77
tetradic
#7727AE #AE3427 #5EAE27 #27A1AE
square
#7727AE #AE3427 #5EAE27 #27A1AE
split-complementary
#7727AE #A1AE27 #27AE34
monochromatic
#33114A #551C7C #7727AE #973ED4 #B270DF

Accessibility & contrast

On white

7.82
#7727AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7727AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7727AE
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7727AE#FFFFFF#000000##FFFFFF
##7727AE1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0052AB
Tritanopia (blue-blind)
#6D496A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7727ae;
/* rgb */ color: rgb(119, 39, 174);
/* oklch */ color: oklch(46.4% 0.201 306.9);
Tailwind
colors: {
  custom: {
    50: '#a46ac7',
    500: '#7727ae',
    950: '#000000',
  },
}
SCSS
$custom: #7727ae;
$custom-light: #a46ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7727ae",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 275.556,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46409,
    "c": 0.20104,
    "h": 306.9
  },
  "luminance": 0.08429
}

Semantic roles & 50–950 ramp

primary
#7727AE
secondary
#90C66B
accent
#E64185
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7727AE

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

Preview Lab → · Contrast checker → · Palette generator →

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