#7727B4#7727B4

#7727B4 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.207 H 305.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7727B4
RGBrgb(119, 39, 180)
HSLhsl(274, 64%, 43%)
HSVhsv(274, 78%, 71%)
CMYKcmyk(33.9%, 78.3%, 0%, 29.4%)
CIE-LABlab(35.34, 58.03, -59.32)
CIE-LCHlch(35.34, 82.98, 314.37°)
OKLaboklab(46.89% 0.1193 -0.169)
OKLCHoklch(46.89% 0.207 305.2)
XYZxyz(16.5696, 8.6684, 43.9714)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7727B4 #64B427
analogous
#3127B4 #7727B4 #B427AA
triadic
#7727B4 #B47727 #27B477
tetradic
#7727B4 #B43127 #64B427 #27AAB4
square
#7727B4 #B43127 #64B427 #27AAB4
split-complementary
#7727B4 #AAB427 #27B431
monochromatic
#34114F #561C82 #7727B4 #9642D6 #B274E1

Accessibility & contrast

On white

7.68
#7727B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7727B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7727B4
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7727B4#FFFFFF#000000##FFFFFF
##7727B41.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#6B4C6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7727b4;
/* rgb */ color: rgb(119, 39, 180);
/* oklch */ color: oklch(46.9% 0.207 305.2);
Tailwind
colors: {
  custom: {
    50: '#a46bcb',
    500: '#7727b4',
    950: '#000000',
  },
}
SCSS
$custom: #7727b4;
$custom-light: #a46bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7727b4",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 180
  },
  "hsl": {
    "h": 274.043,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46891,
    "c": 0.20683,
    "h": 305.2
  },
  "luminance": 0.08668
}

Semantic roles & 50–950 ramp

primary
#7727B4
secondary
#95C86F
accent
#E74089
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7727B4

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

Preview Lab → · Contrast checker → · Palette generator →

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