#7E62F6#7E62F6

#7E62F6 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.3% C 0.212 H 286.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7E62F6
RGBrgb(126, 98, 246)
HSLhsl(251, 89%, 67%)
HSVhsv(251, 60%, 96%)
CMYKcmyk(48.8%, 60.2%, 0%, 3.5%)
CIE-LABlab(51.64, 47.38, -70.69)
CIE-LCHlch(51.64, 85.10, 303.83°)
OKLaboklab(60.3% 0.0616 -0.2023)
OKLCHoklch(60.3% 0.212 286.9)
XYZxyz(29.6015, 19.8234, 89.4375)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E62F6 #DAF662
analogous
#6290F6 #7E62F6 #C862F6
triadic
#7E62F6 #F67E62 #62F67E
tetradic
#7E62F6 #F66290 #DAF662 #62F6C8
square
#7E62F6 #F66290 #DAF662 #62F6C8
split-complementary
#7E62F6 #F6C862 #90F662
monochromatic
#310CD2 #4E28F3 #7E62F6 #AE9CF9 #DDD6FD

Accessibility & contrast

On white

4.23
#7E62F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#7E62F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E62F6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E62F6#FFFFFF#000000##000000
##7E62F61.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#0077F3
Tritanopia (blue-blind)
#5485A3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e62f6;
/* rgb */ color: rgb(126, 98, 246);
/* oklch */ color: oklch(60.3% 0.212 286.9);
Tailwind
colors: {
  custom: {
    50: '#ac90fa',
    500: '#7e62f6',
    950: '#000000',
  },
}
SCSS
$custom: #7e62f6;
$custom-light: #ac90fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e62f6",
  "rgb": {
    "r": 126,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 251.351,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.603,
    "c": 0.21151,
    "h": 286.9
  },
  "luminance": 0.19825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E62F6

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

Preview Lab → · Contrast checker → · Palette generator →

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