#7C62EA#7C62EA

#7C62EA is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.3% C 0.197 H 287.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7C62EA
RGBrgb(124, 98, 234)
HSLhsl(251, 76%, 65%)
HSVhsv(251, 58%, 92%)
CMYKcmyk(47%, 58.1%, 0%, 8.2%)
CIE-LABlab(50.64, 43.57, -65.60)
CIE-LCHlch(50.64, 78.75, 303.59°)
OKLaboklab(59.27% 0.0596 -0.1874)
OKLCHoklch(59.27% 0.197 287.6)
XYZxyz(27.5268, 18.9598, 80.0352)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C62EA #D0EA62
analogous
#628CEA #7C62EA #C062EA
triadic
#7C62EA #EA7C62 #62EA7C
tetradic
#7C62EA #EA628C #D0EA62 #62EAC0
square
#7C62EA #EA628C #D0EA62 #62EAC0
split-complementary
#7C62EA #EAC062 #8CEA62
monochromatic
#3719B9 #4F2CE3 #7C62EA #A998F1 #D6CEF8

Accessibility & contrast

On white

4.38
#7C62EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7C62EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C62EA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C62EA#FFFFFF#000000##000000
##7C62EA1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#0075E7
Tritanopia (blue-blind)
#58819D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c62ea;
/* rgb */ color: rgb(124, 98, 234);
/* oklch */ color: oklch(59.3% 0.197 287.6);
Tailwind
colors: {
  custom: {
    50: '#a98ff2',
    500: '#7c62ea',
    950: '#000000',
  },
}
SCSS
$custom: #7c62ea;
$custom-light: #a98ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c62ea",
  "rgb": {
    "r": 124,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 251.471,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59266,
    "c": 0.19667,
    "h": 287.6
  },
  "luminance": 0.18961
}

Semantic roles & 50–950 ramp

primary
#7C62EA
secondary
#E2EBBD
accent
#D90DB2
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7C62EA

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

Preview Lab → · Contrast checker → · Palette generator →

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