#7D62CE#7D62CE

#7D62CE is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.5% C 0.161 H 292.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7D62CE
RGBrgb(125, 98, 206)
HSLhsl(255, 52%, 60%)
HSVhsv(255, 52%, 81%)
CMYKcmyk(39.3%, 52.4%, 0%, 19.2%)
CIE-LABlab(48.95, 35.92, -52.45)
CIE-LCHlch(48.95, 63.57, 304.41°)
OKLaboklab(57.47% 0.0604 -0.1487)
OKLCHoklch(57.47% 0.161 292.1)
XYZxyz(23.9627, 17.5509, 60.5057)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D62CE #B3CE62
analogous
#627DCE #7D62CE #B362CE
triadic
#7D62CE #CE7D62 #62CE7D
tetradic
#7D62CE #CE627D #B3CE62 #62CEB3
square
#7D62CE #CE627D #B3CE62 #62CEB3
split-complementary
#7D62CE #CEB362 #7DCE62
monochromatic
#432B8A #5A3AB9 #7D62CE #A491DD #CABFEB

Accessibility & contrast

On white

4.66
#7D62CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7D62CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D62CE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D62CE#FFFFFF#000000##FFFFFF
##7D62CE1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3376D2
Deuteranopia (green-blind)
#3872CC
Tritanopia (blue-blind)
#68788F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d62ce;
/* rgb */ color: rgb(125, 98, 206);
/* oklch */ color: oklch(57.5% 0.161 292.1);
Tailwind
colors: {
  custom: {
    50: '#a78fdd',
    500: '#7d62ce',
    950: '#000000',
  },
}
SCSS
$custom: #7d62ce;
$custom-light: #a78fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d62ce",
  "rgb": {
    "r": 125,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 255,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57466,
    "c": 0.16054,
    "h": 292.1
  },
  "luminance": 0.17552
}

Semantic roles & 50–950 ramp

primary
#7D62CE
secondary
#D0DBB1
accent
#DC4CB8
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D62CE

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

Preview Lab → · Contrast checker → · Palette generator →

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