#7E62F7#7E62F7

#7E62F7 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.4% C 0.213 H 286.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7E62F7
RGBrgb(126, 98, 247)
HSLhsl(251, 90%, 68%)
HSVhsv(251, 60%, 97%)
CMYKcmyk(49%, 60.3%, 0%, 3.1%)
CIE-LABlab(51.71, 47.66, -71.13)
CIE-LCHlch(51.71, 85.63, 303.82°)
OKLaboklab(60.37% 0.0616 -0.2036)
OKLCHoklch(60.37% 0.213 286.8)
XYZxyz(29.7554, 19.8850, 90.2480)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E62F7 #DBF762
analogous
#6291F7 #7E62F7 #C862F7
triadic
#7E62F7 #F77E62 #62F77E
tetradic
#7E62F7 #F76291 #DBF762 #62F7C8
square
#7E62F7 #F76291 #DBF762 #62F7C8
split-complementary
#7E62F7 #F7C862 #91F762
monochromatic
#310BD4 #4E28F4 #7E62F7 #AE9CFA #DED6FD

Accessibility & contrast

On white

4.22
#7E62F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7E62F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E62F7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E62F7#FFFFFF#000000##000000
##7E62F71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFC
Deuteranopia (green-blind)
#0077F4
Tritanopia (blue-blind)
#5385A3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e62f7;
/* rgb */ color: rgb(126, 98, 247);
/* oklch */ color: oklch(60.4% 0.213 286.8);
Tailwind
colors: {
  custom: {
    50: '#ac90fb',
    500: '#7e62f7',
    950: '#000000',
  },
}
SCSS
$custom: #7e62f7;
$custom-light: #ac90fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e62f7",
  "rgb": {
    "r": 126,
    "g": 98,
    "b": 247
  },
  "hsl": {
    "h": 251.275,
    "s": 90.303,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60373,
    "c": 0.21275,
    "h": 286.8
  },
  "luminance": 0.19886
}

Semantic roles & 50–950 ramp

primary
#7E62F7
secondary
#E9F2C3
accent
#E600BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E62F7

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

Preview Lab → · Contrast checker → · Palette generator →

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