#7D62EF#7D62EF

#7D62EF is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 59.7% C 0.203 H 287.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7D62EF
RGBrgb(125, 98, 239)
HSLhsl(251, 82%, 66%)
HSVhsv(251, 59%, 94%)
CMYKcmyk(47.7%, 59%, 0%, 6.3%)
CIE-LABlab(51.07, 45.19, -67.71)
CIE-LCHlch(51.07, 81.41, 303.72°)
OKLaboklab(59.71% 0.0607 -0.1936)
OKLCHoklch(59.71% 0.203 287.4)
XYZxyz(28.4006, 19.3261, 83.8785)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D62EF #D4EF62
analogous
#628DEF #7D62EF #C362EF
triadic
#7D62EF #EF7D62 #62EF7D
tetradic
#7D62EF #EF628D #D4EF62 #62EFC3
square
#7D62EF #EF628D #D4EF62 #62EFC3
split-complementary
#7D62EF #EFC362 #8DEF62
monochromatic
#3514C3 #4F2AE9 #7D62EF #AB9AF5 #D9D1FA

Accessibility & contrast

On white

4.32
#7D62EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7D62EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D62EF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D62EF#FFFFFF#000000##000000
##7D62EF1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#56829F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d62ef;
/* rgb */ color: rgb(125, 98, 239);
/* oklch */ color: oklch(59.7% 0.203 287.4);
Tailwind
colors: {
  custom: {
    50: '#aa90f5',
    500: '#7d62ef',
    950: '#000000',
  },
}
SCSS
$custom: #7d62ef;
$custom-light: #aa90f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d62ef",
  "rgb": {
    "r": 125,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 251.489,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59708,
    "c": 0.20289,
    "h": 287.4
  },
  "luminance": 0.19327
}

Semantic roles & 50–950 ramp

primary
#7D62EF
secondary
#E5EEBF
accent
#DE08B5
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D62EF

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

Preview Lab → · Contrast checker → · Palette generator →

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