#7726C1#7726C1

#7726C1 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.9% C 0.220 H 301.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7726C1
RGBrgb(119, 38, 193)
HSLhsl(271, 67%, 45%)
HSVhsv(271, 80%, 76%)
CMYKcmyk(38.3%, 80.3%, 0%, 24.3%)
CIE-LABlab(36.29, 61.35, -65.44)
CIE-LCHlch(36.29, 89.70, 313.15°)
OKLaboklab(47.89% 0.1165 -0.1869)
OKLCHoklch(47.89% 0.22 301.9)
XYZxyz(17.9242, 9.1583, 51.2652)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7726C1 #70C126
analogous
#2926C1 #7726C1 #C126BD
triadic
#7726C1 #C17726 #26C177
tetradic
#7726C1 #C12926 #70C126 #26BDC1
square
#7726C1 #C12926 #70C126 #26BDC1
split-complementary
#7726C1 #BDC126 #26C129
monochromatic
#38125B #571C8E #7726C1 #9549DB #B37CE5

Accessibility & contrast

On white

7.42
#7726C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7726C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7726C1
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7726C1#FFFFFF#000000##FFFFFF
##7726C11.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#675175
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7726c1;
/* rgb */ color: rgb(119, 38, 193);
/* oklch */ color: oklch(47.9% 0.220 301.9);
Tailwind
colors: {
  custom: {
    50: '#a56bd5',
    500: '#7726c1',
    950: '#000000',
  },
}
SCSS
$custom: #7726c1;
$custom-light: #a56bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7726c1",
  "rgb": {
    "r": 119,
    "g": 38,
    "b": 193
  },
  "hsl": {
    "h": 271.355,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47886,
    "c": 0.22029,
    "h": 301.9
  },
  "luminance": 0.09158
}

Semantic roles & 50–950 ramp

primary
#7726C1
secondary
#9FCD75
accent
#EA3E90
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7726C1

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

Preview Lab → · Contrast checker → · Palette generator →

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