#7C61EA#7C61EA

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

Color values

HEX#7C61EA
RGBrgb(124, 97, 234)
HSLhsl(252, 77%, 65%)
HSVhsv(252, 59%, 92%)
CMYKcmyk(47%, 58.5%, 0%, 8.2%)
CIE-LABlab(50.42, 44.14, -65.95)
CIE-LCHlch(50.42, 79.36, 303.79°)
OKLaboklab(59.11% 0.0606 -0.1885)
OKLCHoklch(59.11% 0.198 287.8)
XYZxyz(27.4339, 18.7738, 80.0042)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C61EA #CFEA61
analogous
#618AEA #7C61EA #C161EA
triadic
#7C61EA #EA7C61 #61EA7C
tetradic
#7C61EA #EA618A #CFEA61 #61EAC1
square
#7C61EA #EA618A #CFEA61 #61EAC1
split-complementary
#7C61EA #EAC161 #8AEA61
monochromatic
#3818B8 #4F2BE3 #7C61EA #A997F1 #D6CDF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C61EA#FFFFFF#000000##000000
##7C61EA1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#58809C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c61ea;
/* rgb */ color: rgb(124, 97, 234);
/* oklch */ color: oklch(59.1% 0.198 287.8);
Tailwind
colors: {
  custom: {
    50: '#a98ff2',
    500: '#7c61ea',
    950: '#000000',
  },
}
SCSS
$custom: #7c61ea;
$custom-light: #a98ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c61ea",
  "rgb": {
    "r": 124,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 251.825,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59106,
    "c": 0.19799,
    "h": 287.8
  },
  "luminance": 0.18775
}

Semantic roles & 50–950 ramp

primary
#7C61EA
secondary
#E2EBBC
accent
#D90DB1
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C61EA

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

Preview Lab → · Contrast checker → · Palette generator →

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