#7E62DC#7E62DC

#7E62DC is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.5% C 0.179 H 290.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7E62DC
RGBrgb(126, 98, 220)
HSLhsl(254, 64%, 62%)
HSVhsv(254, 55%, 86%)
CMYKcmyk(42.7%, 55.5%, 0%, 13.7%)
CIE-LABlab(49.90, 40.04, -58.88)
CIE-LCHlch(49.90, 71.21, 304.21°)
OKLaboklab(58.47% 0.0622 -0.1676)
OKLCHoklch(58.47% 0.179 290.3)
XYZxyz(25.8865, 18.3374, 69.8718)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E62DC #C0DC62
analogous
#6283DC #7E62DC #BB62DC
triadic
#7E62DC #DC7E62 #62DC7E
tetradic
#7E62DC #DC6283 #C0DC62 #62DCBB
square
#7E62DC #DC6283 #C0DC62 #62DCBB
split-complementary
#7E62DC #DCBB62 #83DC62
monochromatic
#4024A0 #5530D1 #7E62DC #A794E7 #D0C6F2

Accessibility & contrast

On white

4.50
#7E62DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#7E62DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E62DC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E62DC#FFFFFF#000000##000000
##7E62DC1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F79E0
Deuteranopia (green-blind)
#2574D9
Tritanopia (blue-blind)
#637C96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e62dc;
/* rgb */ color: rgb(126, 98, 220);
/* oklch */ color: oklch(58.5% 0.179 290.3);
Tailwind
colors: {
  custom: {
    50: '#a98fe8',
    500: '#7e62dc',
    950: '#000000',
  },
}
SCSS
$custom: #7e62dc;
$custom-light: #a98fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e62dc",
  "rgb": {
    "r": 126,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 253.77,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58474,
    "c": 0.17877,
    "h": 290.3
  },
  "luminance": 0.18338
}

Semantic roles & 50–950 ramp

primary
#7E62DC
secondary
#D9E3B7
accent
#CB1AA3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7E62DC

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

Preview Lab → · Contrast checker → · Palette generator →

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