#7727C5#7727C5

#7727C5 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.3% C 0.223 H 300.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#7727C5
RGBrgb(119, 39, 197)
HSLhsl(270, 67%, 46%)
HSVhsv(270, 80%, 77%)
CMYKcmyk(39.6%, 80.2%, 0%, 22.7%)
CIE-LABlab(36.75, 61.92, -67.03)
CIE-LCHlch(36.75, 91.25, 312.73°)
OKLaboklab(48.31% 0.1146 -0.1916)
OKLCHoklch(48.31% 0.223 300.9)
XYZxyz(18.4088, 9.4040, 53.6578)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7727C5 #75C527
analogous
#2827C5 #7727C5 #C527C4
triadic
#7727C5 #C57727 #27C577
tetradic
#7727C5 #C52827 #75C527 #27C4C5
square
#7727C5 #C52827 #75C527 #27C4C5
split-complementary
#7727C5 #C4C527 #27C528
monochromatic
#39135F #581D92 #7727C5 #964DDC #B480E6

Accessibility & contrast

On white

7.29
#7727C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7727C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7727C5
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7727C5#FFFFFF#000000##FFFFFF
##7727C51.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#0055C2
Tritanopia (blue-blind)
#655377
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7727c5;
/* rgb */ color: rgb(119, 39, 197);
/* oklch */ color: oklch(48.3% 0.223 300.9);
Tailwind
colors: {
  custom: {
    50: '#a66cd8',
    500: '#7727c5',
    950: '#000000',
  },
}
SCSS
$custom: #7727c5;
$custom-light: #a66cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7727c5",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 197
  },
  "hsl": {
    "h": 270.38,
    "s": 66.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48313,
    "c": 0.22326,
    "h": 300.9
  },
  "luminance": 0.09404
}

Semantic roles & 50–950 ramp

primary
#7727C5
secondary
#A3CF79
accent
#EA3E93
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7727C5

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

Preview Lab → · Contrast checker → · Palette generator →

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