#7D61EB#7D61EB

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

Color values

HEX#7D61EB
RGBrgb(125, 97, 235)
HSLhsl(252, 78%, 65%)
HSVhsv(252, 59%, 92%)
CMYKcmyk(46.8%, 58.7%, 0%, 7.8%)
CIE-LABlab(50.58, 44.62, -66.26)
CIE-LCHlch(50.58, 79.88, 303.96°)
OKLaboklab(59.26% 0.0619 -0.1893)
OKLCHoklch(59.26% 0.199 288.1)
XYZxyz(27.7232, 18.9064, 80.7697)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D61EB #CFEB61
analogous
#618AEB #7D61EB #C261EB
triadic
#7D61EB #EB7D61 #61EB7D
tetradic
#7D61EB #EB618A #CFEB61 #61EBC2
square
#7D61EB #EB618A #CFEB61 #61EBC2
split-complementary
#7D61EB #EBC261 #8AEB61
monochromatic
#3918BA #502BE4 #7D61EB #AA97F2 #D6CEF9

Accessibility & contrast

On white

4.39
#7D61EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7D61EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D61EB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D61EB#FFFFFF#000000##000000
##7D61EB1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#59819D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d61eb;
/* rgb */ color: rgb(125, 97, 235);
/* oklch */ color: oklch(59.3% 0.199 288.1);
Tailwind
colors: {
  custom: {
    50: '#aa8ff2',
    500: '#7d61eb',
    950: '#000000',
  },
}
SCSS
$custom: #7d61eb;
$custom-light: #aa8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d61eb",
  "rgb": {
    "r": 125,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 252.174,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59263,
    "c": 0.19919,
    "h": 288.1
  },
  "luminance": 0.18908
}

Semantic roles & 50–950 ramp

primary
#7D61EB
secondary
#E2EBBD
accent
#DA0CB0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D61EB

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

Preview Lab → · Contrast checker → · Palette generator →

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