#7E62F8#7E62F8

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

Color values

HEX#7E62F8
RGBrgb(126, 98, 248)
HSLhsl(251, 91%, 68%)
HSVhsv(251, 60%, 97%)
CMYKcmyk(49.2%, 60.5%, 0%, 2.7%)
CIE-LABlab(51.78, 47.95, -71.58)
CIE-LCHlch(51.78, 86.15, 303.82°)
OKLaboklab(60.45% 0.0615 -0.2049)
OKLCHoklch(60.45% 0.214 286.7)
XYZxyz(29.9102, 19.9469, 91.0629)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E62F8 #DCF862
analogous
#6291F8 #7E62F8 #C962F8
triadic
#7E62F8 #F87E62 #62F87E
tetradic
#7E62F8 #F86291 #DCF862 #62F8C9
square
#7E62F8 #F86291 #DCF862 #62F8C9
split-complementary
#7E62F8 #F8C962 #91F862
monochromatic
#300AD6 #4E27F5 #7E62F8 #AE9DFB #DED7FD

Accessibility & contrast

On white

4.21
#7E62F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7E62F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E62F8
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E62F8#FFFFFF#000000##000000
##7E62F81.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFD
Deuteranopia (green-blind)
#0077F5
Tritanopia (blue-blind)
#5285A4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e62f8;
/* rgb */ color: rgb(126, 98, 248);
/* oklch */ color: oklch(60.4% 0.214 286.7);
Tailwind
colors: {
  custom: {
    50: '#ac90fb',
    500: '#7e62f8',
    950: '#000000',
  },
}
SCSS
$custom: #7e62f8;
$custom-light: #ac90fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e62f8",
  "rgb": {
    "r": 126,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 251.2,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60446,
    "c": 0.21398,
    "h": 286.7
  },
  "luminance": 0.19948
}

Semantic roles & 50–950 ramp

primary
#7E62F8
secondary
#E9F2C4
accent
#E600BB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7E62F8

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

Preview Lab → · Contrast checker → · Palette generator →

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