#7727B7#7727B7

#7727B7 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.210 H 304.4°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7727B7
RGBrgb(119, 39, 183)
HSLhsl(273, 65%, 44%)
HSVhsv(273, 79%, 72%)
CMYKcmyk(35%, 78.7%, 0%, 28.2%)
CIE-LABlab(35.58, 58.71, -60.70)
CIE-LCHlch(35.58, 84.45, 314.05°)
OKLaboklab(47.14% 0.1185 -0.173)
OKLCHoklch(47.14% 0.21 304.4)
XYZxyz(16.8785, 8.7919, 45.5984)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7727B7 #67B727
analogous
#2F27B7 #7727B7 #B727AF
triadic
#7727B7 #B77727 #27B777
tetradic
#7727B7 #B72F27 #67B727 #27AFB7
square
#7727B7 #B72F27 #67B727 #27AFB7
split-complementary
#7727B7 #AFB727 #27B72F
monochromatic
#351152 #561C85 #7727B7 #9644D7 #B276E2

Accessibility & contrast

On white

7.61
#7727B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7727B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7727B7
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7727B7#FFFFFF#000000##FFFFFF
##7727B71.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#6A4D6F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7727b7;
/* rgb */ color: rgb(119, 39, 183);
/* oklch */ color: oklch(47.1% 0.210 304.4);
Tailwind
colors: {
  custom: {
    50: '#a46bce',
    500: '#7727b7',
    950: '#000000',
  },
}
SCSS
$custom: #7727b7;
$custom-light: #a46bce;
$custom-dark: #000000;
JSON
{
  "hex": "#7727b7",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 183
  },
  "hsl": {
    "h": 273.333,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47136,
    "c": 0.20973,
    "h": 304.4
  },
  "luminance": 0.08792
}

Semantic roles & 50–950 ramp

primary
#7727B7
secondary
#98C970
accent
#E8408B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7727B7

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

Preview Lab → · Contrast checker → · Palette generator →

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