#7D62DF#7D62DF

#7D62DF is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.6% C 0.183 H 289.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7D62DF
RGBrgb(125, 98, 223)
HSLhsl(253, 66%, 63%)
HSVhsv(253, 56%, 87%)
CMYKcmyk(43.9%, 56.1%, 0%, 12.5%)
CIE-LABlab(50.00, 40.66, -60.42)
CIE-LCHlch(50.00, 72.83, 303.94°)
OKLaboklab(58.59% 0.0609 -0.1722)
OKLCHoklch(58.59% 0.183 289.5)
XYZxyz(26.1407, 18.4221, 71.9762)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D62DF #C4DF62
analogous
#6285DF #7D62DF #BB62DF
triadic
#7D62DF #DF7D62 #62DF7D
tetradic
#7D62DF #DF6285 #C4DF62 #62DFBB
square
#7D62DF #DF6285 #C4DF62 #62DFBB
split-complementary
#7D62DF #DFBB62 #85DF62
monochromatic
#3E22A5 #532FD5 #7D62DF #A795E9 #D1C8F4

Accessibility & contrast

On white

4.48
#7D62DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7D62DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D62DF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D62DF#FFFFFF#000000##000000
##7D62DF1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1779E3
Deuteranopia (green-blind)
#1D74DC
Tritanopia (blue-blind)
#607D97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7d62df;
/* rgb */ color: rgb(125, 98, 223);
/* oklch */ color: oklch(58.6% 0.183 289.5);
Tailwind
colors: {
  custom: {
    50: '#a98fea',
    500: '#7d62df',
    950: '#000000',
  },
}
SCSS
$custom: #7d62df;
$custom-light: #a98fea;
$custom-dark: #000000;
JSON
{
  "hex": "#7d62df",
  "rgb": {
    "r": 125,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 252.96,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58588,
    "c": 0.18264,
    "h": 289.5
  },
  "luminance": 0.18423
}

Semantic roles & 50–950 ramp

primary
#7D62DF
secondary
#DBE5B8
accent
#CE17A7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7D62DF

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

Preview Lab → · Contrast checker → · Palette generator →

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