#7C62DC#7C62DC

#7C62DC is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.3% C 0.179 H 289.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7C62DC
RGBrgb(124, 98, 220)
HSLhsl(253, 64%, 62%)
HSVhsv(253, 55%, 86%)
CMYKcmyk(43.6%, 55.5%, 0%, 13.7%)
CIE-LABlab(49.72, 39.59, -59.18)
CIE-LCHlch(49.72, 71.21, 303.78°)
OKLaboklab(58.3% 0.0596 -0.1686)
OKLCHoklch(58.3% 0.179 289.5)
XYZxyz(25.5945, 18.1869, 69.8581)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C62DC #C2DC62
analogous
#6285DC #7C62DC #B962DC
triadic
#7C62DC #DC7C62 #62DC7C
tetradic
#7C62DC #DC6285 #C2DC62 #62DCB9
square
#7C62DC #DC6285 #C2DC62 #62DCB9
split-complementary
#7C62DC #DCB962 #85DC62
monochromatic
#3E24A0 #5230D1 #7C62DC #A694E7 #D0C6F2

Accessibility & contrast

On white

4.53
#7C62DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7C62DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C62DC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C62DC#FFFFFF#000000##000000
##7C62DC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E79E0
Deuteranopia (green-blind)
#2273D9
Tritanopia (blue-blind)
#607D96
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c62dc;
/* rgb */ color: rgb(124, 98, 220);
/* oklch */ color: oklch(58.3% 0.179 289.5);
Tailwind
colors: {
  custom: {
    50: '#a88fe8',
    500: '#7c62dc',
    950: '#000000',
  },
}
SCSS
$custom: #7c62dc;
$custom-light: #a88fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c62dc",
  "rgb": {
    "r": 124,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 252.787,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58297,
    "c": 0.1788,
    "h": 289.5
  },
  "luminance": 0.18188
}

Semantic roles & 50–950 ramp

primary
#7C62DC
secondary
#DAE3B7
accent
#CB1AA6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7C62DC

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

Preview Lab → · Contrast checker → · Palette generator →

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