#7E61BB#7E61BB

#7E61BB is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.2% C 0.137 H 296.6°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7E61BB
RGBrgb(126, 97, 187)
HSLhsl(259, 40%, 56%)
HSVhsv(259, 48%, 73%)
CMYKcmyk(32.6%, 48.1%, 0%, 26.7%)
CIE-LABlab(47.72, 31.64, -43.46)
CIE-LCHlch(47.72, 53.76, 306.05°)
OKLaboklab(56.22% 0.0613 -0.1224)
OKLCHoklch(56.22% 0.137 296.6)
XYZxyz(21.8463, 16.5726, 49.0519)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E61BB #9EBB61
analogous
#6171BB #7E61BB #AB61BB
triadic
#7E61BB #BB7E61 #61BB7E
tetradic
#7E61BB #BB6171 #9EBB61 #61BBAB
square
#7E61BB #BB6171 #9EBB61 #61BBAB
split-complementary
#7E61BB #BBAB61 #71BB61
monochromatic
#453171 #60439C #7E61BB #A18CCD #C4B7E0

Accessibility & contrast

On white

4.87
#7E61BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7E61BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E61BB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E61BB#FFFFFF#000000##FFFFFF
##7E61BB1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4372BE
Deuteranopia (green-blind)
#4970B9
Tritanopia (blue-blind)
#717285
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e61bb;
/* rgb */ color: rgb(126, 97, 187);
/* oklch */ color: oklch(56.2% 0.137 296.6);
Tailwind
colors: {
  custom: {
    50: '#a68ed0',
    500: '#7e61bb',
    950: '#000000',
  },
}
SCSS
$custom: #7e61bb;
$custom-light: #a68ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e61bb",
  "rgb": {
    "r": 126,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 259.333,
    "s": 39.823,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56218,
    "c": 0.13689,
    "h": 296.6
  },
  "luminance": 0.16573
}

Semantic roles & 50–950 ramp

primary
#7E61BB
secondary
#C3CFA9
accent
#D058A9
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7E61BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7E61BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva