#7D62CA#7D62CA

#7D62CA is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.2% C 0.155 H 292.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7D62CA
RGBrgb(125, 98, 202)
HSLhsl(256, 50%, 59%)
HSVhsv(256, 51%, 79%)
CMYKcmyk(38.1%, 51.5%, 0%, 20.8%)
CIE-LABlab(48.71, 34.82, -50.54)
CIE-LCHlch(48.71, 61.38, 304.57°)
OKLaboklab(57.21% 0.0601 -0.1431)
OKLCHoklch(57.21% 0.155 292.8)
XYZxyz(23.4830, 17.3590, 57.9790)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D62CA #AFCA62
analogous
#627BCA #7D62CA #B162CA
triadic
#7D62CA #CA7D62 #62CA7D
tetradic
#7D62CA #CA627B #AFCA62 #62CAB1
square
#7D62CA #CA627B #AFCA62 #62CAB1
split-complementary
#7D62CA #CAB162 #7BCA62
monochromatic
#442D85 #5B3CB3 #7D62CA #A390D9 #C9BEE9

Accessibility & contrast

On white

4.70
#7D62CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7D62CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D62CA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D62CA#FFFFFF#000000##FFFFFF
##7D62CA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3775CE
Deuteranopia (green-blind)
#3C72C8
Tritanopia (blue-blind)
#69778D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d62ca;
/* rgb */ color: rgb(125, 98, 202);
/* oklch */ color: oklch(57.2% 0.155 292.8);
Tailwind
colors: {
  custom: {
    50: '#a78fdb',
    500: '#7d62ca',
    950: '#000000',
  },
}
SCSS
$custom: #7d62ca;
$custom-light: #a78fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d62ca",
  "rgb": {
    "r": 125,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 255.577,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57213,
    "c": 0.15526,
    "h": 292.8
  },
  "luminance": 0.1736
}

Semantic roles & 50–950 ramp

primary
#7D62CA
secondary
#CED8AF
accent
#D94FB5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D62CA

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

Preview Lab → · Contrast checker → · Palette generator →

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