#7727A3#7727A3

#7727A3 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.6% C 0.190 H 310.2°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7727A3
RGBrgb(119, 39, 163)
HSLhsl(279, 61%, 40%)
HSVhsv(279, 76%, 64%)
CMYKcmyk(27%, 76.1%, 0%, 36.1%)
CIE-LABlab(34.02, 54.26, -51.29)
CIE-LCHlch(34.02, 74.66, 316.61°)
OKLaboklab(45.55% 0.123 -0.1454)
OKLCHoklch(45.55% 0.19 310.2)
XYZxyz(14.9428, 8.0177, 35.4036)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7727A3 #53A327
analogous
#3927A3 #7727A3 #A32791
triadic
#7727A3 #A37727 #27A377
tetradic
#7727A3 #A33927 #53A327 #2791A3
square
#7727A3 #A33927 #53A327 #2791A3
split-complementary
#7727A3 #91A327 #27A339
monochromatic
#2F0F40 #531B72 #7727A3 #9A38CF #B369DB

Accessibility & contrast

On white

8.07
#7727A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7727A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7727A3
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7727A3#FFFFFF#000000##FFFFFF
##7727A31.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0651A0
Tritanopia (blue-blind)
#714464
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7727a3;
/* rgb */ color: rgb(119, 39, 163);
/* oklch */ color: oklch(45.6% 0.190 310.2);
Tailwind
colors: {
  custom: {
    50: '#a36abf',
    500: '#7727a3',
    950: '#000000',
  },
}
SCSS
$custom: #7727a3;
$custom-light: #a36abf;
$custom-dark: #000000;
JSON
{
  "hex": "#7727a3",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 278.71,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45553,
    "c": 0.19044,
    "h": 310.2
  },
  "luminance": 0.08017
}

Semantic roles & 50–950 ramp

primary
#7727A3
secondary
#85C164
accent
#E4437D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7727A3

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

Preview Lab → · Contrast checker → · Palette generator →

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