#7E61BD#7E61BD

#7E61BD is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.3% C 0.140 H 296.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7E61BD
RGBrgb(126, 97, 189)
HSLhsl(259, 41%, 56%)
HSVhsv(259, 49%, 74%)
CMYKcmyk(33.3%, 48.7%, 0%, 25.9%)
CIE-LABlab(47.83, 32.17, -44.45)
CIE-LCHlch(47.83, 54.86, 305.89°)
OKLaboklab(56.34% 0.0616 -0.1253)
OKLCHoklch(56.34% 0.14 296.2)
XYZxyz(22.0619, 16.6588, 50.1874)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E61BD #A0BD61
analogous
#6172BD #7E61BD #AC61BD
triadic
#7E61BD #BD7E61 #61BD7E
tetradic
#7E61BD #BD6172 #A0BD61 #61BDAC
square
#7E61BD #BD6172 #A0BD61 #61BDAC
split-complementary
#7E61BD #BDAC61 #72BD61
monochromatic
#453073 #5F429F #7E61BD #A18CCF #C4B7E1

Accessibility & contrast

On white

4.85
#7E61BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7E61BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E61BD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E61BD#FFFFFF#000000##FFFFFF
##7E61BD1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4172C0
Deuteranopia (green-blind)
#4770BB
Tritanopia (blue-blind)
#707386
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e61bd;
/* rgb */ color: rgb(126, 97, 189);
/* oklch */ color: oklch(56.3% 0.140 296.2);
Tailwind
colors: {
  custom: {
    50: '#a68ed1',
    500: '#7e61bd',
    950: '#000000',
  },
}
SCSS
$custom: #7e61bd;
$custom-light: #a68ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e61bd",
  "rgb": {
    "r": 126,
    "g": 97,
    "b": 189
  },
  "hsl": {
    "h": 258.913,
    "s": 41.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56336,
    "c": 0.13957,
    "h": 296.2
  },
  "luminance": 0.16659
}

Semantic roles & 50–950 ramp

primary
#7E61BD
secondary
#C4D0AA
accent
#D157AA
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #7E61BD

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

Preview Lab → · Contrast checker → · Palette generator →

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