#7F62F9#7F62F9

#7F62F9 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.6% C 0.215 H 286.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7F62F9
RGBrgb(127, 98, 249)
HSLhsl(252, 93%, 68%)
HSVhsv(252, 61%, 98%)
CMYKcmyk(49%, 60.6%, 0%, 2.4%)
CIE-LABlab(51.93, 48.42, -71.87)
CIE-LCHlch(51.93, 86.66, 303.97°)
OKLaboklab(60.6% 0.0627 -0.2058)
OKLCHoklch(60.6% 0.215 286.9)
XYZxyz(30.2139, 20.0855, 91.8890)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F62F9 #DCF962
analogous
#6290F9 #7F62F9 #CA62F9
triadic
#7F62F9 #F97F62 #62F97F
tetradic
#7F62F9 #F96290 #DCF962 #62F9CA
square
#7F62F9 #F96290 #DCF962 #62F9CA
split-complementary
#7F62F9 #F9CA62 #90F962
monochromatic
#3008D8 #4F27F7 #7F62F9 #AF9DFB #DFD8FE

Accessibility & contrast

On white

4.19
#7F62F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7F62F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F62F9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F62F9#FFFFFF#000000##000000
##7F62F91.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FE
Deuteranopia (green-blind)
#0078F6
Tritanopia (blue-blind)
#5486A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7f62f9;
/* rgb */ color: rgb(127, 98, 249);
/* oklch */ color: oklch(60.6% 0.215 286.9);
Tailwind
colors: {
  custom: {
    50: '#ad90fc',
    500: '#7f62f9',
    950: '#000000',
  },
}
SCSS
$custom: #7f62f9;
$custom-light: #ad90fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f62f9",
  "rgb": {
    "r": 127,
    "g": 98,
    "b": 249
  },
  "hsl": {
    "h": 251.523,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60604,
    "c": 0.21514,
    "h": 286.9
  },
  "luminance": 0.20087
}

Semantic roles & 50–950 ramp

primary
#7F62F9
secondary
#EAF2C4
accent
#E600B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D18
muted
#807D86

Preview Lab

Preview with #7F62F9

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

Preview Lab → · Contrast checker → · Palette generator →

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