#7727A8#7727A8

#7727A8 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.195 H 308.7°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7727A8
RGBrgb(119, 39, 168)
HSLhsl(277, 62%, 41%)
HSVhsv(277, 77%, 66%)
CMYKcmyk(29.2%, 76.8%, 0%, 34.1%)
CIE-LABlab(34.40, 55.35, -53.69)
CIE-LCHlch(34.40, 77.11, 315.88°)
OKLaboklab(45.94% 0.1221 -0.1524)
OKLCHoklch(45.94% 0.195 308.7)
XYZxyz(15.3997, 8.2004, 37.8098)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7727A8 #58A827
analogous
#3627A8 #7727A8 #A82798
triadic
#7727A8 #A87727 #27A877
tetradic
#7727A8 #A83627 #58A827 #2798A8
square
#7727A8 #A83627 #58A827 #2798A8
split-complementary
#7727A8 #98A827 #27A836
monochromatic
#311045 #541B76 #7727A8 #983BD1 #B26CDD

Accessibility & contrast

On white

7.95
#7727A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7727A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7727A8
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7727A8#FFFFFF#000000##FFFFFF
##7727A81.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#6F4766
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7727a8;
/* rgb */ color: rgb(119, 39, 168);
/* oklch */ color: oklch(45.9% 0.195 308.7);
Tailwind
colors: {
  custom: {
    50: '#a36ac3',
    500: '#7727a8',
    950: '#000000',
  },
}
SCSS
$custom: #7727a8;
$custom-light: #a36ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#7727a8",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 277.209,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45937,
    "c": 0.19526,
    "h": 308.7
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#7727A8
secondary
#8AC367
accent
#E54280
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7727A8

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

Preview Lab → · Contrast checker → · Palette generator →

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