#7D62E4#7D62E4

#7D62E4 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.9% C 0.189 H 288.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7D62E4
RGBrgb(125, 98, 228)
HSLhsl(252, 71%, 64%)
HSVhsv(252, 57%, 89%)
CMYKcmyk(45.2%, 57%, 0%, 10.6%)
CIE-LABlab(50.33, 42.07, -62.72)
CIE-LCHlch(50.33, 75.52, 303.85°)
OKLaboklab(58.93% 0.0609 -0.1789)
OKLCHoklch(58.93% 0.189 288.8)
XYZxyz(26.8247, 18.6957, 75.5790)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D62E4 #C9E462
analogous
#6288E4 #7D62E4 #BE62E4
triadic
#7D62E4 #E47D62 #62E47D
tetradic
#7D62E4 #E46288 #C9E462 #62E4BE
square
#7D62E4 #E46288 #C9E462 #62E4BE
split-complementary
#7D62E4 #E4BE62 #88E462
monochromatic
#3C1EAE #522EDB #7D62E4 #A896ED #D3CAF6

Accessibility & contrast

On white

4.43
#7D62E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7D62E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D62E4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D62E4#FFFFFF#000000##000000
##7D62E41.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#037BE8
Deuteranopia (green-blind)
#0C75E1
Tritanopia (blue-blind)
#5D7F9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d62e4;
/* rgb */ color: rgb(125, 98, 228);
/* oklch */ color: oklch(58.9% 0.189 288.8);
Tailwind
colors: {
  custom: {
    50: '#a98fed',
    500: '#7d62e4',
    950: '#000000',
  },
}
SCSS
$custom: #7d62e4;
$custom-light: #a98fed;
$custom-dark: #000000;
JSON
{
  "hex": "#7d62e4",
  "rgb": {
    "r": 125,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 252.462,
    "s": 70.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58932,
    "c": 0.18903,
    "h": 288.8
  },
  "luminance": 0.18697
}

Semantic roles & 50–950 ramp

primary
#7D62E4
secondary
#DEE8BA
accent
#D313AB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7D62E4

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

Preview Lab → · Contrast checker → · Palette generator →

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