#7E62EF#7E62EF

#7E62EF is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 59.8% C 0.203 H 287.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7E62EF
RGBrgb(126, 98, 239)
HSLhsl(252, 82%, 66%)
HSVhsv(252, 59%, 94%)
CMYKcmyk(47.3%, 59%, 0%, 6.3%)
CIE-LABlab(51.15, 45.39, -67.56)
CIE-LCHlch(51.15, 81.39, 303.89°)
OKLaboklab(59.79% 0.0619 -0.1931)
OKLCHoklch(59.79% 0.203 287.8)
XYZxyz(28.5473, 19.4018, 83.8854)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E62EF #D3EF62
analogous
#628CEF #7E62EF #C462EF
triadic
#7E62EF #EF7E62 #62EF7E
tetradic
#7E62EF #EF628C #D3EF62 #62EFC4
square
#7E62EF #EF628C #D3EF62 #62EFC4
split-complementary
#7E62EF #EFC462 #8CEF62
monochromatic
#3714C3 #502AE9 #7E62EF #AC9AF5 #D9D1FA

Accessibility & contrast

On white

4.30
#7E62EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7E62EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E62EF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E62EF#FFFFFF#000000##000000
##7E62EF1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e62ef;
/* rgb */ color: rgb(126, 98, 239);
/* oklch */ color: oklch(59.8% 0.203 287.8);
Tailwind
colors: {
  custom: {
    50: '#ab90f5',
    500: '#7e62ef',
    950: '#000000',
  },
}
SCSS
$custom: #7e62ef;
$custom-light: #ab90f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e62ef",
  "rgb": {
    "r": 126,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 251.915,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59793,
    "c": 0.20284,
    "h": 287.8
  },
  "luminance": 0.19403
}

Semantic roles & 50–950 ramp

primary
#7E62EF
secondary
#E4EEBF
accent
#DE08B3
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E62EF

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

Preview Lab → · Contrast checker → · Palette generator →

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