#7D62EA#7D62EA

#7D62EA is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.4% C 0.197 H 288.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7D62EA
RGBrgb(125, 98, 234)
HSLhsl(252, 76%, 65%)
HSVhsv(252, 58%, 92%)
CMYKcmyk(46.6%, 58.1%, 0%, 8.2%)
CIE-LABlab(50.73, 43.77, -65.45)
CIE-LCHlch(50.73, 78.74, 303.77°)
OKLaboklab(59.35% 0.0608 -0.187)
OKLCHoklch(59.35% 0.197 288)
XYZxyz(27.6721, 19.0347, 80.0420)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D62EA #CFEA62
analogous
#628BEA #7D62EA #C162EA
triadic
#7D62EA #EA7D62 #62EA7D
tetradic
#7D62EA #EA628B #CFEA62 #62EAC1
square
#7D62EA #EA628B #CFEA62 #62EAC1
split-complementary
#7D62EA #EAC162 #8BEA62
monochromatic
#3919B9 #502CE3 #7D62EA #AA98F1 #D6CEF8

Accessibility & contrast

On white

4.37
#7D62EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7D62EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D62EA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D62EA#FFFFFF#000000##000000
##7D62EA1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d62ea;
/* rgb */ color: rgb(125, 98, 234);
/* oklch */ color: oklch(59.4% 0.197 288.0);
Tailwind
colors: {
  custom: {
    50: '#aa8ff2',
    500: '#7d62ea',
    950: '#000000',
  },
}
SCSS
$custom: #7d62ea;
$custom-light: #aa8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d62ea",
  "rgb": {
    "r": 125,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 251.912,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59352,
    "c": 0.19661,
    "h": 288
  },
  "luminance": 0.19036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D62EA

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

Preview Lab → · Contrast checker → · Palette generator →

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