#7F62F5#7F62F5

#7F62F5 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.3% C 0.210 H 287.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7F62F5
RGBrgb(127, 98, 245)
HSLhsl(252, 88%, 67%)
HSVhsv(252, 60%, 96%)
CMYKcmyk(48.2%, 60%, 0%, 3.9%)
CIE-LABlab(51.65, 47.29, -70.10)
CIE-LCHlch(51.65, 84.56, 304.00°)
OKLaboklab(60.31% 0.0629 -0.2006)
OKLCHoklch(60.31% 0.21 287.4)
XYZxyz(29.5967, 19.8386, 88.6383)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F62F5 #D8F562
analogous
#628EF5 #7F62F5 #C962F5
triadic
#7F62F5 #F57F62 #62F57F
tetradic
#7F62F5 #F5628E #D8F562 #62F5C9
square
#7F62F5 #F5628E #D8F562 #62F5C9
split-complementary
#7F62F5 #F5C962 #8EF562
monochromatic
#340DCF #5028F1 #7F62F5 #AE9CF9 #DDD5FC

Accessibility & contrast

On white

4.23
#7F62F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#7F62F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F62F5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F62F5#FFFFFF#000000##000000
##7F62F51.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFA
Deuteranopia (green-blind)
#0077F2
Tritanopia (blue-blind)
#5684A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7f62f5;
/* rgb */ color: rgb(127, 98, 245);
/* oklch */ color: oklch(60.3% 0.210 287.4);
Tailwind
colors: {
  custom: {
    50: '#ac90f9',
    500: '#7f62f5',
    950: '#000000',
  },
}
SCSS
$custom: #7f62f5;
$custom-light: #ac90f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f62f5",
  "rgb": {
    "r": 127,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 251.837,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60311,
    "c": 0.21022,
    "h": 287.4
  },
  "luminance": 0.1984
}

Semantic roles & 50–950 ramp

primary
#7F62F5
secondary
#E7F1C2
accent
#E501B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F62F5

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

Preview Lab → · Contrast checker → · Palette generator →

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