#7726BC#7726BC

#7726BC is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.5% C 0.215 H 303.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7726BC
RGBrgb(119, 38, 188)
HSLhsl(272, 66%, 44%)
HSVhsv(272, 80%, 74%)
CMYKcmyk(36.7%, 79.8%, 0%, 26.3%)
CIE-LABlab(35.87, 60.21, -63.19)
CIE-LCHlch(35.87, 87.28, 313.62°)
OKLaboklab(47.46% 0.118 -0.1803)
OKLCHoklch(47.46% 0.215 303.2)
XYZxyz(17.3758, 8.9390, 48.3772)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7726BC #6BBC26
analogous
#2C26BC #7726BC #BC26B6
triadic
#7726BC #BC7726 #26BC77
tetradic
#7726BC #BC2C26 #6BBC26 #26B6BC
square
#7726BC #BC2C26 #6BBC26 #26B6BC
split-complementary
#7726BC #B6BC26 #26BC2C
monochromatic
#371156 #571C89 #7726BC #9646DA #B279E4

Accessibility & contrast

On white

7.53
#7726BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7726BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7726BC
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7726BC#FFFFFF#000000##FFFFFF
##7726BC1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#694F72
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7726bc;
/* rgb */ color: rgb(119, 38, 188);
/* oklch */ color: oklch(47.5% 0.215 303.2);
Tailwind
colors: {
  custom: {
    50: '#a56bd1',
    500: '#7726bc',
    950: '#000000',
  },
}
SCSS
$custom: #7726bc;
$custom-light: #a56bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7726bc",
  "rgb": {
    "r": 119,
    "g": 38,
    "b": 188
  },
  "hsl": {
    "h": 272.4,
    "s": 66.372,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47464,
    "c": 0.21548,
    "h": 303.2
  },
  "luminance": 0.08939
}

Semantic roles & 50–950 ramp

primary
#7726BC
secondary
#9BCC72
accent
#E93F8D
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7726BC

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

Preview Lab → · Contrast checker → · Palette generator →

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