#7C62CD#7C62CD

#7C62CD is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.3% C 0.159 H 291.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7C62CD
RGBrgb(124, 98, 205)
HSLhsl(255, 52%, 59%)
HSVhsv(255, 52%, 80%)
CMYKcmyk(39.5%, 52.2%, 0%, 19.6%)
CIE-LABlab(48.79, 35.40, -52.13)
CIE-LCHlch(48.79, 63.01, 304.18°)
OKLaboklab(57.31% 0.0591 -0.1478)
OKLCHoklch(57.31% 0.159 291.8)
XYZxyz(23.6963, 17.4276, 59.8611)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C62CD #B3CD62
analogous
#627ECD #7C62CD #B162CD
triadic
#7C62CD #CD7C62 #62CD7C
tetradic
#7C62CD #CD627E #B3CD62 #62CDB1
square
#7C62CD #CD627E #B3CD62 #62CDB1
split-complementary
#7C62CD #CDB162 #7ECD62
monochromatic
#422C89 #593AB7 #7C62CD #A390DC #C9BFEB

Accessibility & contrast

On white

4.68
#7C62CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7C62CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C62CD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C62CD#FFFFFF#000000##FFFFFF
##7C62CD1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3476D1
Deuteranopia (green-blind)
#3872CB
Tritanopia (blue-blind)
#67788E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7c62cd;
/* rgb */ color: rgb(124, 98, 205);
/* oklch */ color: oklch(57.3% 0.159 291.8);
Tailwind
colors: {
  custom: {
    50: '#a68fdd',
    500: '#7c62cd',
    950: '#000000',
  },
}
SCSS
$custom: #7c62cd;
$custom-light: #a68fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c62cd",
  "rgb": {
    "r": 124,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 254.579,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57311,
    "c": 0.1592,
    "h": 291.8
  },
  "luminance": 0.17428
}

Semantic roles & 50–950 ramp

primary
#7C62CD
secondary
#D0DAB1
accent
#DB4DB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7C62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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