#7726B1#7726B1

#7726B1 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.205 H 306.1°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7726B1
RGBrgb(119, 38, 177)
HSLhsl(275, 65%, 42%)
HSVhsv(275, 79%, 69%)
CMYKcmyk(32.8%, 78.5%, 0%, 30.6%)
CIE-LABlab(34.97, 57.73, -58.14)
CIE-LCHlch(34.97, 81.93, 314.80°)
OKLaboklab(46.56% 0.1209 -0.1655)
OKLCHoklch(46.56% 0.205 306.1)
XYZxyz(16.2349, 8.4826, 42.3685)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7726B1 #60B126
analogous
#3226B1 #7726B1 #B126A6
triadic
#7726B1 #B17726 #26B177
tetradic
#7726B1 #B13226 #60B126 #26A6B1
square
#7726B1 #B13226 #60B126 #26A6B1
split-complementary
#7726B1 #A6B126 #26B132
monochromatic
#33104C #551B7F #7726B1 #973FD6 #B271E0

Accessibility & contrast

On white

7.79
#7726B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7726B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7726B1
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7726B1#FFFFFF#000000##FFFFFF
##7726B11.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#6D4A6B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7726b1;
/* rgb */ color: rgb(119, 38, 177);
/* oklch */ color: oklch(46.6% 0.205 306.1);
Tailwind
colors: {
  custom: {
    50: '#a46ac9',
    500: '#7726b1',
    950: '#000000',
  },
}
SCSS
$custom: #7726b1;
$custom-light: #a46ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#7726b1",
  "rgb": {
    "r": 119,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 274.964,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46558,
    "c": 0.20492,
    "h": 306.1
  },
  "luminance": 0.08482
}

Semantic roles & 50–950 ramp

primary
#7726B1
secondary
#92C76B
accent
#E84086
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7726B1

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

Preview Lab → · Contrast checker → · Palette generator →

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