#7C62F8#7C62F8

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

Color values

HEX#7C62F8
RGBrgb(124, 98, 248)
HSLhsl(250, 91%, 68%)
HSVhsv(250, 60%, 97%)
CMYKcmyk(50%, 60.5%, 0%, 2.7%)
CIE-LABlab(51.61, 47.58, -71.86)
CIE-LCHlch(51.61, 86.18, 303.51°)
OKLaboklab(60.28% 0.059 -0.2058)
OKLCHoklch(60.28% 0.214 286)
XYZxyz(29.6181, 19.7963, 91.0492)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C62F8 #DEF862
analogous
#6293F8 #7C62F8 #C762F8
triadic
#7C62F8 #F87C62 #62F87C
tetradic
#7C62F8 #F86293 #DEF862 #62F8C7
square
#7C62F8 #F86293 #DEF862 #62F8C7
split-complementary
#7C62F8 #F8C762 #93F862
monochromatic
#2D0AD6 #4B27F5 #7C62F8 #AD9DFB #DED7FD

Accessibility & contrast

On white

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

On black

4.96
#7C62F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C62F8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C62F8#FFFFFF#000000##000000
##7C62F81.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c62f8;
/* rgb */ color: rgb(124, 98, 248);
/* oklch */ color: oklch(60.3% 0.214 286.0);
Tailwind
colors: {
  custom: {
    50: '#ab90fb',
    500: '#7c62f8',
    950: '#000000',
  },
}
SCSS
$custom: #7c62f8;
$custom-light: #ab90fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c62f8",
  "rgb": {
    "r": 124,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 250.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6028,
    "c": 0.21413,
    "h": 286
  },
  "luminance": 0.19798
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C62F8

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

Preview Lab → · Contrast checker → · Palette generator →

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