#7F62F6#7F62F6

#7F62F6 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.4% C 0.211 H 287.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7F62F6
RGBrgb(127, 98, 246)
HSLhsl(252, 89%, 67%)
HSVhsv(252, 60%, 96%)
CMYKcmyk(48.4%, 60.2%, 0%, 3.5%)
CIE-LABlab(51.72, 47.57, -70.54)
CIE-LCHlch(51.72, 85.09, 303.99°)
OKLaboklab(60.38% 0.0629 -0.2019)
OKLCHoklch(60.38% 0.211 287.3)
XYZxyz(29.7498, 19.8999, 89.4444)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F62F6 #D9F662
analogous
#628FF6 #7F62F6 #C962F6
triadic
#7F62F6 #F67F62 #62F67F
tetradic
#7F62F6 #F6628F #D9F662 #62F6C9
square
#7F62F6 #F6628F #D9F662 #62F6C9
split-complementary
#7F62F6 #F6C962 #8FF662
monochromatic
#330CD2 #5028F3 #7F62F6 #AE9CF9 #DDD6FD

Accessibility & contrast

On white

4.22
#7F62F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7F62F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F62F6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F62F6#FFFFFF#000000##000000
##7F62F61.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f62f6;
/* rgb */ color: rgb(127, 98, 246);
/* oklch */ color: oklch(60.4% 0.211 287.3);
Tailwind
colors: {
  custom: {
    50: '#ac90fa',
    500: '#7f62f6',
    950: '#000000',
  },
}
SCSS
$custom: #7f62f6;
$custom-light: #ac90fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7f62f6",
  "rgb": {
    "r": 127,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 251.757,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60384,
    "c": 0.21146,
    "h": 287.3
  },
  "luminance": 0.19901
}

Semantic roles & 50–950 ramp

primary
#7F62F6
secondary
#E8F1C3
accent
#E600B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F62F6

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

Preview Lab → · Contrast checker → · Palette generator →

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