#7D62CB#7D62CB

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

Color values

HEX#7D62CB
RGBrgb(125, 98, 203)
HSLhsl(255, 50%, 59%)
HSVhsv(255, 52%, 80%)
CMYKcmyk(38.4%, 51.7%, 0%, 20.4%)
CIE-LABlab(48.77, 35.10, -51.02)
CIE-LCHlch(48.77, 61.92, 304.53°)
OKLaboklab(57.28% 0.0602 -0.1446)
OKLCHoklch(57.28% 0.157 292.6)
XYZxyz(23.6018, 17.4066, 58.6046)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D62CB #B0CB62
analogous
#627CCB #7D62CB #B262CB
triadic
#7D62CB #CB7D62 #62CB7D
tetradic
#7D62CB #CB627C #B0CB62 #62CBB2
square
#7D62CB #CB627C #B0CB62 #62CBB2
split-complementary
#7D62CB #CBB262 #7CCB62
monochromatic
#442C86 #5B3CB4 #7D62CB #A390DA #C9BEE9

Accessibility & contrast

On white

4.69
#7D62CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7D62CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D62CB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D62CB#FFFFFF#000000##FFFFFF
##7D62CB1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3675CF
Deuteranopia (green-blind)
#3B72C9
Tritanopia (blue-blind)
#69778D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7d62cb;
/* rgb */ color: rgb(125, 98, 203);
/* oklch */ color: oklch(57.3% 0.157 292.6);
Tailwind
colors: {
  custom: {
    50: '#a78fdb',
    500: '#7d62cb',
    950: '#000000',
  },
}
SCSS
$custom: #7d62cb;
$custom-light: #a78fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d62cb",
  "rgb": {
    "r": 125,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 255.429,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57276,
    "c": 0.15659,
    "h": 292.6
  },
  "luminance": 0.17407
}

Semantic roles & 50–950 ramp

primary
#7D62CB
secondary
#CED9B0
accent
#DA4EB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7D62CB

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

Preview Lab → · Contrast checker → · Palette generator →

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