#7D62F6#7D62F6

#7D62F6 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.2% C 0.212 H 286.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7D62F6
RGBrgb(125, 98, 246)
HSLhsl(251, 89%, 67%)
HSVhsv(251, 60%, 96%)
CMYKcmyk(49.2%, 60.2%, 0%, 3.5%)
CIE-LABlab(51.55, 47.19, -70.83)
CIE-LCHlch(51.55, 85.11, 303.67°)
OKLaboklab(60.22% 0.0604 -0.2028)
OKLCHoklch(60.22% 0.212 286.6)
XYZxyz(29.4548, 19.7478, 89.4306)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D62F6 #DBF662
analogous
#6291F6 #7D62F6 #C762F6
triadic
#7D62F6 #F67D62 #62F67D
tetradic
#7D62F6 #F66291 #DBF662 #62F6C7
square
#7D62F6 #F66291 #DBF662 #62F6C7
split-complementary
#7D62F6 #F6C762 #91F662
monochromatic
#300CD2 #4D28F3 #7D62F6 #AD9CF9 #DDD6FD

Accessibility & contrast

On white

4.24
#7D62F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7D62F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D62F6
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D62F6#FFFFFF#000000##000000
##7D62F61.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#0077F3
Tritanopia (blue-blind)
#5285A3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7d62f6;
/* rgb */ color: rgb(125, 98, 246);
/* oklch */ color: oklch(60.2% 0.212 286.6);
Tailwind
colors: {
  custom: {
    50: '#ab90fa',
    500: '#7d62f6',
    950: '#000000',
  },
}
SCSS
$custom: #7d62f6;
$custom-light: #ab90fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d62f6",
  "rgb": {
    "r": 125,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 250.946,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60216,
    "c": 0.21159,
    "h": 286.6
  },
  "luminance": 0.19749
}

Semantic roles & 50–950 ramp

primary
#7D62F6
secondary
#E9F1C3
accent
#E600BC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7D62F6

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

Preview Lab → · Contrast checker → · Palette generator →

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