#7726C7#7726C7

#7726C7 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.4% C 0.226 H 300.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7726C7
RGBrgb(119, 38, 199)
HSLhsl(270, 68%, 46%)
HSVhsv(270, 81%, 78%)
CMYKcmyk(40.2%, 80.9%, 0%, 22%)
CIE-LABlab(36.80, 62.73, -68.11)
CIE-LCHlch(36.80, 92.59, 312.65°)
OKLaboklab(48.4% 0.1147 -0.1948)
OKLCHoklch(48.4% 0.226 300.5)
XYZxyz(18.6071, 9.4315, 54.8619)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7726C7 #76C726
analogous
#2726C7 #7726C7 #C726C7
triadic
#7726C7 #C77726 #26C777
tetradic
#7726C7 #C72726 #76C726 #26C7C7
square
#7726C7 #C72726 #76C726 #26C7C7
split-complementary
#7726C7 #C7C726 #26C727
monochromatic
#3A1260 #581C94 #7726C7 #964DDD #B481E7

Accessibility & contrast

On white

7.28
#7726C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7726C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7726C7
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7726C7#FFFFFF#000000##FFFFFF
##7726C71.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#0055C4
Tritanopia (blue-blind)
#645478
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7726c7;
/* rgb */ color: rgb(119, 38, 199);
/* oklch */ color: oklch(48.4% 0.226 300.5);
Tailwind
colors: {
  custom: {
    50: '#a66bd9',
    500: '#7726c7',
    950: '#000000',
  },
}
SCSS
$custom: #7726c7;
$custom-light: #a66bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7726c7",
  "rgb": {
    "r": 119,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 270.186,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48402,
    "c": 0.22604,
    "h": 300.5
  },
  "luminance": 0.09432
}

Semantic roles & 50–950 ramp

primary
#7726C7
secondary
#A4CF79
accent
#EB3D93
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7726C7

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

Preview Lab → · Contrast checker → · Palette generator →

#7726C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva