#7D62CD#7D62CD

#7D62CD is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.4% C 0.159 H 292.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7D62CD
RGBrgb(125, 98, 205)
HSLhsl(255, 52%, 59%)
HSVhsv(255, 52%, 80%)
CMYKcmyk(39%, 52.2%, 0%, 19.6%)
CIE-LABlab(48.89, 35.65, -51.97)
CIE-LCHlch(48.89, 63.02, 304.44°)
OKLaboklab(57.4% 0.0603 -0.1473)
OKLCHoklch(57.4% 0.159 292.3)
XYZxyz(23.8416, 17.5025, 59.8679)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D62CD #B2CD62
analogous
#627DCD #7D62CD #B362CD
triadic
#7D62CD #CD7D62 #62CD7D
tetradic
#7D62CD #CD627D #B2CD62 #62CDB3
square
#7D62CD #CD627D #B2CD62 #62CDB3
split-complementary
#7D62CD #CDB362 #7DCD62
monochromatic
#432C89 #5A3AB7 #7D62CD #A390DC #CABFEB

Accessibility & contrast

On white

4.67
#7D62CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7D62CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7D62CD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D62CD#FFFFFF#000000##FFFFFF
##7D62CD1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d62cd;
/* rgb */ color: rgb(125, 98, 205);
/* oklch */ color: oklch(57.4% 0.159 292.3);
Tailwind
colors: {
  custom: {
    50: '#a78fdd',
    500: '#7d62cd',
    950: '#000000',
  },
}
SCSS
$custom: #7d62cd;
$custom-light: #a78fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d62cd",
  "rgb": {
    "r": 125,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 255.14,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57402,
    "c": 0.15923,
    "h": 292.3
  },
  "luminance": 0.17503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D62CD

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

Preview Lab → · Contrast checker → · Palette generator →

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