#7D50E8#7D50E8

#7D50E8 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.217 H 291.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7D50E8
RGBrgb(125, 80, 232)
HSLhsl(258, 77%, 61%)
HSVhsv(258, 66%, 91%)
CMYKcmyk(46.1%, 65.5%, 0%, 9%)
CIE-LABlab(46.87, 53.10, -70.58)
CIE-LCHlch(46.87, 88.33, 306.96°)
OKLaboklab(56.5% 0.0796 -0.2021)
OKLCHoklch(56.5% 0.217 291.5)
XYZxyz(25.8875, 15.9226, 78.0377)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D50E8 #BBE850
analogous
#506FE8 #7D50E8 #C950E8
triadic
#7D50E8 #E87D50 #50E87D
tetradic
#7D50E8 #E8506F #BBE850 #50E8C9
square
#7D50E8 #E8506F #BBE850 #50E8C9
split-complementary
#7D50E8 #E8C950 #6FE850
monochromatic
#4116A8 #561DDE #7D50E8 #A586EF #CDBCF6

Accessibility & contrast

On white

5.02
#7D50E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7D50E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D50E8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D50E8#FFFFFF#000000##FFFFFF
##7D50E81.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#5C7595
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d50e8;
/* rgb */ color: rgb(125, 80, 232);
/* oklch */ color: oklch(56.5% 0.217 291.5);
Tailwind
colors: {
  custom: {
    50: '#ab84f0',
    500: '#7d50e8',
    950: '#000000',
  },
}
SCSS
$custom: #7d50e8;
$custom-light: #ab84f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d50e8",
  "rgb": {
    "r": 125,
    "g": 80,
    "b": 232
  },
  "hsl": {
    "h": 257.763,
    "s": 76.768,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56502,
    "c": 0.21717,
    "h": 291.5
  },
  "luminance": 0.15923
}

Semantic roles & 50–950 ramp

primary
#7D50E8
secondary
#D6E6AD
accent
#D90D9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D50E8

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

Preview Lab → · Contrast checker → · Palette generator →

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