#7727B8#7727B8

#7727B8 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.2% C 0.211 H 304.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7727B8
RGBrgb(119, 39, 184)
HSLhsl(273, 65%, 44%)
HSVhsv(273, 79%, 72%)
CMYKcmyk(35.3%, 78.8%, 0%, 27.8%)
CIE-LABlab(35.66, 58.94, -61.16)
CIE-LCHlch(35.66, 84.94, 313.94°)
OKLaboklab(47.22% 0.1183 -0.1744)
OKLCHoklch(47.22% 0.211 304.1)
XYZxyz(16.9830, 8.8337, 46.1485)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7727B8 #68B827
analogous
#2E27B8 #7727B8 #B827B0
triadic
#7727B8 #B87727 #27B877
tetradic
#7727B8 #B82E27 #68B827 #27B0B8
square
#7727B8 #B82E27 #68B827 #27B0B8
split-complementary
#7727B8 #B0B827 #27B82E
monochromatic
#361253 #561C86 #7727B8 #9645D8 #B277E2

Accessibility & contrast

On white

7.59
#7727B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7727B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7727B8
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7727B8#FFFFFF#000000##FFFFFF
##7727B81.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#6A4D70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7727b8;
/* rgb */ color: rgb(119, 39, 184);
/* oklch */ color: oklch(47.2% 0.211 304.1);
Tailwind
colors: {
  custom: {
    50: '#a46bce',
    500: '#7727b8',
    950: '#000000',
  },
}
SCSS
$custom: #7727b8;
$custom-light: #a46bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7727b8",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 184
  },
  "hsl": {
    "h": 273.103,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47219,
    "c": 0.2107,
    "h": 304.1
  },
  "luminance": 0.08834
}

Semantic roles & 50–950 ramp

primary
#7727B8
secondary
#99CA71
accent
#E8408B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7727B8

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

Preview Lab → · Contrast checker → · Palette generator →

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