#7C62FD#7C62FD

#7C62FD is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.7% C 0.220 H 285.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7C62FD
RGBrgb(124, 98, 253)
HSLhsl(250, 97%, 69%)
HSVhsv(250, 61%, 99%)
CMYKcmyk(51%, 61.3%, 0%, 0.8%)
CIE-LABlab(51.96, 49.01, -74.06)
CIE-LCHlch(51.96, 88.81, 303.50°)
OKLaboklab(60.65% 0.0587 -0.2123)
OKLCHoklch(60.65% 0.22 285.4)
XYZxyz(30.4042, 20.1107, 95.1892)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C62FD #E3FD62
analogous
#6296FD #7C62FD #CA62FD
triadic
#7C62FD #FD7C62 #62FD7C
tetradic
#7C62FD #FD6296 #E3FD62 #62FDCA
square
#7C62FD #FD6296 #E3FD62 #62FDCA
split-complementary
#7C62FD #FDCA62 #96FD62
monochromatic
#2803E2 #4A26FC #7C62FD #AE9EFE #E1DBFF

Accessibility & contrast

On white

4.18
#7C62FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7C62FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C62FD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C62FD#FFFFFF#000000##000000
##7C62FD1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#0077FA
Tritanopia (blue-blind)
#4A87A7
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7c62fd;
/* rgb */ color: rgb(124, 98, 253);
/* oklch */ color: oklch(60.7% 0.220 285.4);
Tailwind
colors: {
  custom: {
    50: '#ab90ff',
    500: '#7c62fd',
    950: '#000000',
  },
}
SCSS
$custom: #7c62fd;
$custom-light: #ab90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7c62fd",
  "rgb": {
    "r": 124,
    "g": 98,
    "b": 253
  },
  "hsl": {
    "h": 250.065,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.60652,
    "c": 0.22028,
    "h": 285.4
  },
  "luminance": 0.20112
}

Semantic roles & 50–950 ramp

primary
#7C62FD
secondary
#EDF4C6
accent
#E600BF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7C62FD

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

Preview Lab → · Contrast checker → · Palette generator →

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