#7D62EB#7D62EB

#7D62EB is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.4% C 0.198 H 287.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7D62EB
RGBrgb(125, 98, 235)
HSLhsl(252, 77%, 65%)
HSVhsv(252, 58%, 92%)
CMYKcmyk(46.8%, 58.3%, 0%, 7.8%)
CIE-LABlab(50.80, 44.05, -65.91)
CIE-LCHlch(50.80, 79.27, 303.76°)
OKLaboklab(59.42% 0.0608 -0.1883)
OKLCHoklch(59.42% 0.198 287.9)
XYZxyz(27.8162, 19.0923, 80.8007)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D62EB #D0EB62
analogous
#628BEB #7D62EB #C262EB
triadic
#7D62EB #EB7D62 #62EB7D
tetradic
#7D62EB #EB628B #D0EB62 #62EBC2
square
#7D62EB #EB628B #D0EB62 #62EBC2
split-complementary
#7D62EB #EBC262 #8BEB62
monochromatic
#3818BB #502CE4 #7D62EB #AA98F2 #D7CFF9

Accessibility & contrast

On white

4.36
#7D62EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7D62EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D62EB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D62EB#FFFFFF#000000##000000
##7D62EB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#59819D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d62eb;
/* rgb */ color: rgb(125, 98, 235);
/* oklch */ color: oklch(59.4% 0.198 287.9);
Tailwind
colors: {
  custom: {
    50: '#aa90f2',
    500: '#7d62eb',
    950: '#000000',
  },
}
SCSS
$custom: #7d62eb;
$custom-light: #aa90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d62eb",
  "rgb": {
    "r": 125,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 251.825,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59423,
    "c": 0.19787,
    "h": 287.9
  },
  "luminance": 0.19093
}

Semantic roles & 50–950 ramp

primary
#7D62EB
secondary
#E2EBBD
accent
#DA0CB1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D62EB

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

Preview Lab → · Contrast checker → · Palette generator →

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