#7B61E8#7B61E8

#7B61E8 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.9% C 0.196 H 287.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7B61E8
RGBrgb(123, 97, 232)
HSLhsl(252, 75%, 65%)
HSVhsv(252, 58%, 91%)
CMYKcmyk(47%, 58.2%, 0%, 9%)
CIE-LABlab(50.20, 43.36, -65.19)
CIE-LCHlch(50.20, 78.30, 303.63°)
OKLaboklab(58.88% 0.0594 -0.1863)
OKLCHoklch(58.88% 0.196 287.7)
XYZxyz(27.0043, 18.5854, 78.4928)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B61E8 #CEE861
analogous
#618AE8 #7B61E8 #BF61E8
triadic
#7B61E8 #E87B61 #61E87B
tetradic
#7B61E8 #E8618A #CEE861 #61E8BF
square
#7B61E8 #E8618A #CEE861 #61E8BF
split-complementary
#7B61E8 #E8BF61 #8AE861
monochromatic
#381AB4 #4E2CE0 #7B61E8 #A896F0 #D4CCF8

Accessibility & contrast

On white

4.45
#7B61E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7B61E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B61E8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B61E8#FFFFFF#000000##000000
##7B61E81.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEC
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#57809B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b61e8;
/* rgb */ color: rgb(123, 97, 232);
/* oklch */ color: oklch(58.9% 0.196 287.7);
Tailwind
colors: {
  custom: {
    50: '#a88ff0',
    500: '#7b61e8',
    950: '#000000',
  },
}
SCSS
$custom: #7b61e8;
$custom-light: #a88ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b61e8",
  "rgb": {
    "r": 123,
    "g": 97,
    "b": 232
  },
  "hsl": {
    "h": 251.556,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58878,
    "c": 0.19552,
    "h": 287.7
  },
  "luminance": 0.18587
}

Semantic roles & 50–950 ramp

primary
#7B61E8
secondary
#E1EABB
accent
#D70FB0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7B61E8

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

Preview Lab → · Contrast checker → · Palette generator →

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