#7D62F8#7D62F8

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

Color values

HEX#7D62F8
RGBrgb(125, 98, 248)
HSLhsl(251, 91%, 68%)
HSVhsv(251, 60%, 97%)
CMYKcmyk(49.6%, 60.5%, 0%, 2.7%)
CIE-LABlab(51.69, 47.76, -71.72)
CIE-LCHlch(51.69, 86.17, 303.66°)
OKLaboklab(60.36% 0.0602 -0.2054)
OKLCHoklch(60.36% 0.214 286.3)
XYZxyz(29.7634, 19.8712, 91.0560)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D62F8 #DDF862
analogous
#6292F8 #7D62F8 #C862F8
triadic
#7D62F8 #F87D62 #62F87D
tetradic
#7D62F8 #F86292 #DDF862 #62F8C8
square
#7D62F8 #F86292 #DDF862 #62F8C8
split-complementary
#7D62F8 #F8C862 #92F862
monochromatic
#2E0AD6 #4C27F5 #7D62F8 #AE9DFB #DED7FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D62F8#FFFFFF#000000##000000
##7D62F81.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d62f8;
/* rgb */ color: rgb(125, 98, 248);
/* oklch */ color: oklch(60.4% 0.214 286.3);
Tailwind
colors: {
  custom: {
    50: '#ab90fb',
    500: '#7d62f8',
    950: '#000000',
  },
}
SCSS
$custom: #7d62f8;
$custom-light: #ab90fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d62f8",
  "rgb": {
    "r": 125,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 250.8,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60363,
    "c": 0.21405,
    "h": 286.3
  },
  "luminance": 0.19873
}

Semantic roles & 50–950 ramp

primary
#7D62F8
secondary
#EAF2C4
accent
#E600BC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7D62F8

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

Preview Lab → · Contrast checker → · Palette generator →

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