#7D50EB#7D50EB

#7D50EB is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.7% C 0.221 H 291.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7D50EB
RGBrgb(125, 80, 235)
HSLhsl(257, 79%, 62%)
HSVhsv(257, 66%, 92%)
CMYKcmyk(46.8%, 66%, 0%, 7.8%)
CIE-LABlab(47.10, 53.91, -71.91)
CIE-LCHlch(47.10, 89.87, 306.86°)
OKLaboklab(56.74% 0.0792 -0.206)
OKLCHoklch(56.74% 0.221 291)
XYZxyz(26.3173, 16.0945, 80.3011)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D50EB #BEEB50
analogous
#5071EB #7D50EB #CA50EB
triadic
#7D50EB #EB7D50 #50EB7D
tetradic
#7D50EB #EB5071 #BEEB50 #50EBCA
square
#7D50EB #EB5071 #BEEB50 #50EBCA
split-complementary
#7D50EB #EBCA50 #71EB50
monochromatic
#4014AD #551AE4 #7D50EB #A687F1 #CFBEF8

Accessibility & contrast

On white

4.98
#7D50EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7D50EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D50EB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D50EB#FFFFFF#000000##FFFFFF
##7D50EB1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#5A7697
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d50eb;
/* rgb */ color: rgb(125, 80, 235);
/* oklch */ color: oklch(56.7% 0.221 291.0);
Tailwind
colors: {
  custom: {
    50: '#ab84f2',
    500: '#7d50eb',
    950: '#000000',
  },
}
SCSS
$custom: #7d50eb;
$custom-light: #ab84f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d50eb",
  "rgb": {
    "r": 125,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 257.419,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56735,
    "c": 0.22067,
    "h": 291
  },
  "luminance": 0.16095
}

Semantic roles & 50–950 ramp

primary
#7D50EB
secondary
#D7E8AF
accent
#DC0A9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D50EB

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

Preview Lab → · Contrast checker → · Palette generator →

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