#7726C5#7726C5

#7726C5 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.2% C 0.224 H 301.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7726C5
RGBrgb(119, 38, 197)
HSLhsl(271, 68%, 46%)
HSVhsv(271, 81%, 77%)
CMYKcmyk(39.6%, 80.7%, 0%, 22.7%)
CIE-LABlab(36.63, 62.27, -67.22)
CIE-LCHlch(36.63, 91.63, 312.81°)
OKLaboklab(48.23% 0.1153 -0.1922)
OKLCHoklch(48.23% 0.224 301)
XYZxyz(18.3764, 9.3392, 53.6470)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7726C5 #74C526
analogous
#2726C5 #7726C5 #C526C3
triadic
#7726C5 #C57726 #26C577
tetradic
#7726C5 #C52726 #74C526 #26C3C5
square
#7726C5 #C52726 #74C526 #26C3C5
split-complementary
#7726C5 #C3C526 #26C527
monochromatic
#39125E #581C92 #7726C5 #954CDC #B47FE6

Accessibility & contrast

On white

7.32
#7726C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7726C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7726C5
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7726C5#FFFFFF#000000##FFFFFF
##7726C51.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7726c5;
/* rgb */ color: rgb(119, 38, 197);
/* oklch */ color: oklch(48.2% 0.224 301.0);
Tailwind
colors: {
  custom: {
    50: '#a66bd8',
    500: '#7726c5',
    950: '#000000',
  },
}
SCSS
$custom: #7726c5;
$custom-light: #a66bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7726c5",
  "rgb": {
    "r": 119,
    "g": 38,
    "b": 197
  },
  "hsl": {
    "h": 270.566,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48229,
    "c": 0.22412,
    "h": 301
  },
  "luminance": 0.09339
}

Semantic roles & 50–950 ramp

primary
#7726C5
secondary
#A3CF78
accent
#EB3D92
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7726C5

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

Preview Lab → · Contrast checker → · Palette generator →

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