#7B61EC#7B61EC

#7B61EC is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.2% C 0.201 H 287.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7B61EC
RGBrgb(123, 97, 236)
HSLhsl(251, 79%, 65%)
HSVhsv(251, 59%, 93%)
CMYKcmyk(47.9%, 58.9%, 0%, 7.5%)
CIE-LABlab(50.47, 44.51, -67.00)
CIE-LCHlch(50.47, 80.44, 303.59°)
OKLaboklab(59.16% 0.0593 -0.1916)
OKLCHoklch(59.16% 0.201 287.2)
XYZxyz(27.5790, 18.8152, 81.5192)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B61EC #D2EC61
analogous
#618CEC #7B61EC #C061EC
triadic
#7B61EC #EC7B61 #61EC7B
tetradic
#7B61EC #EC618C #D2EC61 #61ECC0
square
#7B61EC #EC618C #D2EC61 #61ECC0
split-complementary
#7B61EC #ECC061 #8CEC61
monochromatic
#3617BC #4D2AE5 #7B61EC #A998F3 #D6CEF9

Accessibility & contrast

On white

4.41
#7B61EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7B61EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B61EC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B61EC#FFFFFF#000000##000000
##7B61EC1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#0074E9
Tritanopia (blue-blind)
#54819D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b61ec;
/* rgb */ color: rgb(123, 97, 236);
/* oklch */ color: oklch(59.2% 0.201 287.2);
Tailwind
colors: {
  custom: {
    50: '#a98ff3',
    500: '#7b61ec',
    950: '#000000',
  },
}
SCSS
$custom: #7b61ec;
$custom-light: #a98ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b61ec",
  "rgb": {
    "r": 123,
    "g": 97,
    "b": 236
  },
  "hsl": {
    "h": 251.223,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59163,
    "c": 0.20056,
    "h": 287.2
  },
  "luminance": 0.18816
}

Semantic roles & 50–950 ramp

primary
#7B61EC
secondary
#E3ECBD
accent
#DB0BB4
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7B61EC

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

Preview Lab → · Contrast checker → · Palette generator →

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