#7726B7#7726B7

#7726B7 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.211 H 304.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7726B7
RGBrgb(119, 38, 183)
HSLhsl(274, 66%, 43%)
HSVhsv(274, 79%, 72%)
CMYKcmyk(35%, 79.2%, 0%, 28.2%)
CIE-LABlab(35.45, 59.08, -60.91)
CIE-LCHlch(35.45, 84.85, 314.13°)
OKLaboklab(47.05% 0.1193 -0.1736)
OKLCHoklch(47.05% 0.211 304.5)
XYZxyz(16.8461, 8.7271, 45.5876)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7726B7 #66B726
analogous
#2E26B7 #7726B7 #B726AE
triadic
#7726B7 #B77726 #26B777
tetradic
#7726B7 #B72E26 #66B726 #26AEB7
square
#7726B7 #B72E26 #66B726 #26AEB7
split-complementary
#7726B7 #AEB726 #26B72E
monochromatic
#351152 #561B84 #7726B7 #9642D8 #B275E2

Accessibility & contrast

On white

7.65
#7726B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7726B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7726B7
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7726B7#FFFFFF#000000##FFFFFF
##7726B71.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#6A4D6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7726b7;
/* rgb */ color: rgb(119, 38, 183);
/* oklch */ color: oklch(47.0% 0.211 304.5);
Tailwind
colors: {
  custom: {
    50: '#a46ace',
    500: '#7726b7',
    950: '#000000',
  },
}
SCSS
$custom: #7726b7;
$custom-light: #a46ace;
$custom-dark: #000000;
JSON
{
  "hex": "#7726b7",
  "rgb": {
    "r": 119,
    "g": 38,
    "b": 183
  },
  "hsl": {
    "h": 273.517,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47048,
    "c": 0.21068,
    "h": 304.5
  },
  "luminance": 0.08727
}

Semantic roles & 50–950 ramp

primary
#7726B7
secondary
#97CA6F
accent
#E93F8A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7726B7

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

Preview Lab → · Contrast checker → · Palette generator →

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