#7C50EB#7C50EB

#7C50EB is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.6% C 0.221 H 290.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7C50EB
RGBrgb(124, 80, 235)
HSLhsl(257, 79%, 62%)
HSVhsv(257, 66%, 92%)
CMYKcmyk(47.2%, 66%, 0%, 7.8%)
CIE-LABlab(47.00, 53.74, -72.07)
CIE-LCHlch(47.00, 89.90, 306.71°)
OKLaboklab(56.64% 0.0779 -0.2065)
OKLCHoklch(56.64% 0.221 290.7)
XYZxyz(26.1720, 16.0196, 80.2942)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C50EB #BFEB50
analogous
#5072EB #7C50EB #C950EB
triadic
#7C50EB #EB7C50 #50EB7C
tetradic
#7C50EB #EB5072 #BFEB50 #50EBC9
square
#7C50EB #EB5072 #BFEB50 #50EBC9
split-complementary
#7C50EB #EBC950 #72EB50
monochromatic
#3F14AD #531AE4 #7C50EB #A587F1 #CEBEF8

Accessibility & contrast

On white

5.00
#7C50EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7C50EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C50EB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C50EB#FFFFFF#000000##FFFFFF
##7C50EB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#587697
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7c50eb;
/* rgb */ color: rgb(124, 80, 235);
/* oklch */ color: oklch(56.6% 0.221 290.7);
Tailwind
colors: {
  custom: {
    50: '#aa84f2',
    500: '#7c50eb',
    950: '#000000',
  },
}
SCSS
$custom: #7c50eb;
$custom-light: #aa84f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c50eb",
  "rgb": {
    "r": 124,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 257.032,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56641,
    "c": 0.22066,
    "h": 290.7
  },
  "luminance": 0.16021
}

Semantic roles & 50–950 ramp

primary
#7C50EB
secondary
#D8E8AF
accent
#DC0AA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7C50EB

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

Preview Lab → · Contrast checker → · Palette generator →

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