#7C61EC#7C61EC

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

Color values

HEX#7C61EC
RGBrgb(124, 97, 236)
HSLhsl(252, 79%, 65%)
HSVhsv(252, 59%, 93%)
CMYKcmyk(47.5%, 58.9%, 0%, 7.5%)
CIE-LABlab(50.56, 44.71, -66.86)
CIE-LCHlch(50.56, 80.43, 303.77°)
OKLaboklab(59.25% 0.0606 -0.1911)
OKLCHoklch(59.25% 0.201 287.6)
XYZxyz(27.7228, 18.8894, 81.5259)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C61EC #D1EC61
analogous
#618BEC #7C61EC #C261EC
triadic
#7C61EC #EC7C61 #61EC7C
tetradic
#7C61EC #EC618B #D1EC61 #61ECC2
square
#7C61EC #EC618B #D1EC61 #61ECC2
split-complementary
#7C61EC #ECC261 #8BEC61
monochromatic
#3717BC #4F2AE5 #7C61EC #A998F3 #D7CEF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C61EC#FFFFFF#000000##000000
##7C61EC1.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)
#007CF1
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#56819D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c61ec;
/* rgb */ color: rgb(124, 97, 236);
/* oklch */ color: oklch(59.2% 0.201 287.6);
Tailwind
colors: {
  custom: {
    50: '#a98ff3',
    500: '#7c61ec',
    950: '#000000',
  },
}
SCSS
$custom: #7c61ec;
$custom-light: #a98ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c61ec",
  "rgb": {
    "r": 124,
    "g": 97,
    "b": 236
  },
  "hsl": {
    "h": 251.655,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59248,
    "c": 0.2005,
    "h": 287.6
  },
  "luminance": 0.18891
}

Semantic roles & 50–950 ramp

primary
#7C61EC
secondary
#E3ECBD
accent
#DB0BB2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C61EC

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

Preview Lab → · Contrast checker → · Palette generator →

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