#7E61BA#7E61BA

#7E61BA is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.2% C 0.136 H 296.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7E61BA
RGBrgb(126, 97, 186)
HSLhsl(260, 39%, 55%)
HSVhsv(260, 48%, 73%)
CMYKcmyk(32.3%, 47.8%, 0%, 27.1%)
CIE-LABlab(47.66, 31.37, -42.97)
CIE-LCHlch(47.66, 53.20, 306.13°)
OKLaboklab(56.16% 0.0612 -0.1209)
OKLCHoklch(56.16% 0.136 296.8)
XYZxyz(21.7396, 16.5299, 48.4901)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E61BA #9DBA61
analogous
#6170BA #7E61BA #AB61BA
triadic
#7E61BA #BA7E61 #61BA7E
tetradic
#7E61BA #BA6170 #9DBA61 #61BAAB
square
#7E61BA #BA6170 #9DBA61 #61BAAB
split-complementary
#7E61BA #BAAB61 #70BA61
monochromatic
#453170 #60439A #7E61BA #A18CCD #C4B6DF

Accessibility & contrast

On white

4.88
#7E61BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E61BA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E61BA#FFFFFF#000000##FFFFFF
##7E61BA1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4471BD
Deuteranopia (green-blind)
#4A70B8
Tritanopia (blue-blind)
#717285
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e61ba;
/* rgb */ color: rgb(126, 97, 186);
/* oklch */ color: oklch(56.2% 0.136 296.8);
Tailwind
colors: {
  custom: {
    50: '#a68ecf',
    500: '#7e61ba',
    950: '#000000',
  },
}
SCSS
$custom: #7e61ba;
$custom-light: #a68ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#7e61ba",
  "rgb": {
    "r": 126,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 259.551,
    "s": 39.207,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56159,
    "c": 0.13555,
    "h": 296.8
  },
  "luminance": 0.1653
}

Semantic roles & 50–950 ramp

primary
#7E61BA
secondary
#C2CEA9
accent
#CF59A9
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7E61BA

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

Preview Lab → · Contrast checker → · Palette generator →

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