#7E61EB#7E61EB

#7E61EB is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.3% C 0.199 H 288.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7E61EB
RGBrgb(126, 97, 235)
HSLhsl(253, 78%, 65%)
HSVhsv(253, 59%, 92%)
CMYKcmyk(46.4%, 58.7%, 0%, 7.8%)
CIE-LABlab(50.67, 44.82, -66.11)
CIE-LCHlch(50.67, 79.87, 304.14°)
OKLaboklab(59.35% 0.0631 -0.1889)
OKLCHoklch(59.35% 0.199 288.5)
XYZxyz(27.8700, 18.9820, 80.7766)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E61EB #CEEB61
analogous
#6189EB #7E61EB #C361EB
triadic
#7E61EB #EB7E61 #61EB7E
tetradic
#7E61EB #EB6189 #CEEB61 #61EBC3
square
#7E61EB #EB6189 #CEEB61 #61EBC3
split-complementary
#7E61EB #EBC361 #89EB61
monochromatic
#3A18BA #522BE4 #7E61EB #AA97F2 #D7CEF9

Accessibility & contrast

On white

4.38
#7E61EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#7E61EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E61EB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E61EB#FFFFFF#000000##000000
##7E61EB1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#5B809D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e61eb;
/* rgb */ color: rgb(126, 97, 235);
/* oklch */ color: oklch(59.3% 0.199 288.5);
Tailwind
colors: {
  custom: {
    50: '#ab8ff2',
    500: '#7e61eb',
    950: '#000000',
  },
}
SCSS
$custom: #7e61eb;
$custom-light: #ab8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e61eb",
  "rgb": {
    "r": 126,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 252.609,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59349,
    "c": 0.19915,
    "h": 288.5
  },
  "luminance": 0.18983
}

Semantic roles & 50–950 ramp

primary
#7E61EB
secondary
#E1EBBD
accent
#DA0CAE
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E61EB

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

Preview Lab → · Contrast checker → · Palette generator →

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