#7726BD#7726BD

#7726BD is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.5% C 0.216 H 302.9°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7726BD
RGBrgb(119, 38, 189)
HSLhsl(272, 67%, 45%)
HSVhsv(272, 80%, 74%)
CMYKcmyk(37%, 79.9%, 0%, 25.9%)
CIE-LABlab(35.95, 60.44, -63.64)
CIE-LCHlch(35.95, 87.77, 313.52°)
OKLaboklab(47.55% 0.1177 -0.1816)
OKLCHoklch(47.55% 0.216 302.9)
XYZxyz(17.4840, 8.9823, 48.9469)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7726BD #6CBD26
analogous
#2B26BD #7726BD #BD26B8
triadic
#7726BD #BD7726 #26BD77
tetradic
#7726BD #BD2B26 #6CBD26 #26B8BD
square
#7726BD #BD2B26 #6CBD26 #26B8BD
split-complementary
#7726BD #B8BD26 #26BD2B
monochromatic
#371257 #571C8A #7726BD #9546DA #B379E4

Accessibility & contrast

On white

7.51
#7726BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7726BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7726BD
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7726BD#FFFFFF#000000##FFFFFF
##7726BD1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#684F72
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7726bd;
/* rgb */ color: rgb(119, 38, 189);
/* oklch */ color: oklch(47.5% 0.216 302.9);
Tailwind
colors: {
  custom: {
    50: '#a56bd2',
    500: '#7726bd',
    950: '#000000',
  },
}
SCSS
$custom: #7726bd;
$custom-light: #a56bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7726bd",
  "rgb": {
    "r": 119,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 272.185,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47548,
    "c": 0.21644,
    "h": 302.9
  },
  "luminance": 0.08982
}

Semantic roles & 50–950 ramp

primary
#7726BD
secondary
#9CCC73
accent
#E93E8E
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7726BD

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

Preview Lab → · Contrast checker → · Palette generator →

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