#7F62F4#7F62F4

#7F62F4 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.2% C 0.209 H 287.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7F62F4
RGBrgb(127, 98, 244)
HSLhsl(252, 87%, 67%)
HSVhsv(252, 60%, 96%)
CMYKcmyk(48%, 59.8%, 0%, 4.3%)
CIE-LABlab(51.58, 47.00, -69.66)
CIE-LCHlch(51.58, 84.03, 304.01°)
OKLaboklab(60.24% 0.063 -0.1993)
OKLCHoklch(60.24% 0.209 287.5)
XYZxyz(29.4445, 19.7777, 87.8364)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F62F4 #D7F462
analogous
#628EF4 #7F62F4 #C862F4
triadic
#7F62F4 #F47F62 #62F47F
tetradic
#7F62F4 #F4628E #D7F462 #62F4C8
square
#7F62F4 #F4628E #D7F462 #62F4C8
split-complementary
#7F62F4 #F4C862 #8EF462
monochromatic
#340ECD #5029F0 #7F62F4 #AE9BF8 #DCD4FC

Accessibility & contrast

On white

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

On black

4.96
#7F62F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F62F4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F62F4#FFFFFF#000000##000000
##7F62F41.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF9
Deuteranopia (green-blind)
#0077F1
Tritanopia (blue-blind)
#5784A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7f62f4;
/* rgb */ color: rgb(127, 98, 244);
/* oklch */ color: oklch(60.2% 0.209 287.5);
Tailwind
colors: {
  custom: {
    50: '#ac90f9',
    500: '#7f62f4',
    950: '#000000',
  },
}
SCSS
$custom: #7f62f4;
$custom-light: #ac90f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f62f4",
  "rgb": {
    "r": 127,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 251.918,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60239,
    "c": 0.20899,
    "h": 287.5
  },
  "luminance": 0.19779
}

Semantic roles & 50–950 ramp

primary
#7F62F4
secondary
#E7F0C2
accent
#E302B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F62F4

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

Preview Lab → · Contrast checker → · Palette generator →

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