#7726C4#7726C4

#7726C4 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.1% C 0.223 H 301.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7726C4
RGBrgb(119, 38, 196)
HSLhsl(271, 68%, 46%)
HSVhsv(271, 81%, 77%)
CMYKcmyk(39.3%, 80.6%, 0%, 23.1%)
CIE-LABlab(36.54, 62.04, -66.78)
CIE-LCHlch(36.54, 91.15, 312.89°)
OKLaboklab(48.14% 0.1156 -0.1909)
OKLCHoklch(48.14% 0.223 301.2)
XYZxyz(18.2622, 9.2936, 53.0456)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7726C4 #73C426
analogous
#2826C4 #7726C4 #C426C2
triadic
#7726C4 #C47726 #26C477
tetradic
#7726C4 #C42826 #73C426 #26C2C4
square
#7726C4 #C42826 #73C426 #26C2C4
split-complementary
#7726C4 #C2C426 #26C428
monochromatic
#39125D #581C91 #7726C4 #954BDC #B47EE6

Accessibility & contrast

On white

7.35
#7726C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7726C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7726C4
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7726C4#FFFFFF#000000##FFFFFF
##7726C41.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#655276
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7726c4;
/* rgb */ color: rgb(119, 38, 196);
/* oklch */ color: oklch(48.1% 0.223 301.2);
Tailwind
colors: {
  custom: {
    50: '#a66bd7',
    500: '#7726c4',
    950: '#000000',
  },
}
SCSS
$custom: #7726c4;
$custom-light: #a66bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7726c4",
  "rgb": {
    "r": 119,
    "g": 38,
    "b": 196
  },
  "hsl": {
    "h": 270.759,
    "s": 67.521,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48143,
    "c": 0.22316,
    "h": 301.2
  },
  "luminance": 0.09294
}

Semantic roles & 50–950 ramp

primary
#7726C4
secondary
#A2CE77
accent
#EA3D92
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7726C4

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

Preview Lab → · Contrast checker → · Palette generator →

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