#7B61EB#7B61EB

#7B61EB is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.1% C 0.199 H 287.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7B61EB
RGBrgb(123, 97, 235)
HSLhsl(251, 78%, 65%)
HSVhsv(251, 59%, 92%)
CMYKcmyk(47.7%, 58.7%, 0%, 7.8%)
CIE-LABlab(50.40, 44.22, -66.55)
CIE-LCHlch(50.40, 79.90, 303.60°)
OKLaboklab(59.09% 0.0593 -0.1903)
OKLCHoklch(59.09% 0.199 287.3)
XYZxyz(27.4341, 18.7573, 80.7561)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B61EB #D1EB61
analogous
#618CEB #7B61EB #C061EB
triadic
#7B61EB #EB7B61 #61EB7B
tetradic
#7B61EB #EB618C #D1EB61 #61EBC0
square
#7B61EB #EB618C #D1EB61 #61EBC0
split-complementary
#7B61EB #EBC061 #8CEB61
monochromatic
#3618BA #4E2BE4 #7B61EB #A897F2 #D6CEF9

Accessibility & contrast

On white

4.42
#7B61EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7B61EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B61EB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B61EB#FFFFFF#000000##000000
##7B61EB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#55819D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b61eb;
/* rgb */ color: rgb(123, 97, 235);
/* oklch */ color: oklch(59.1% 0.199 287.3);
Tailwind
colors: {
  custom: {
    50: '#a98ff2',
    500: '#7b61eb',
    950: '#000000',
  },
}
SCSS
$custom: #7b61eb;
$custom-light: #a98ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b61eb",
  "rgb": {
    "r": 123,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 251.304,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59092,
    "c": 0.1993,
    "h": 287.3
  },
  "luminance": 0.18759
}

Semantic roles & 50–950 ramp

primary
#7B61EB
secondary
#E2EBBD
accent
#DA0CB3
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B61EB

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

Preview Lab → · Contrast checker → · Palette generator →

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