#7E62F5#7E62F5

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

Color values

HEX#7E62F5
RGBrgb(126, 98, 245)
HSLhsl(251, 88%, 67%)
HSVhsv(251, 60%, 96%)
CMYKcmyk(48.6%, 60%, 0%, 3.9%)
CIE-LABlab(51.57, 47.10, -70.25)
CIE-LCHlch(51.57, 84.57, 303.84°)
OKLaboklab(60.23% 0.0617 -0.201)
OKLCHoklch(60.23% 0.21 287.1)
XYZxyz(29.4485, 19.7622, 88.6313)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E62F5 #D9F562
analogous
#628FF5 #7E62F5 #C862F5
triadic
#7E62F5 #F57E62 #62F57E
tetradic
#7E62F5 #F5628F #D9F562 #62F5C8
square
#7E62F5 #F5628F #D9F562 #62F5C8
split-complementary
#7E62F5 #F5C862 #8FF562
monochromatic
#320DCF #4F28F1 #7E62F5 #AD9CF9 #DDD5FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E62F5#FFFFFF#000000##000000
##7E62F51.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)
#007FFA
Deuteranopia (green-blind)
#0077F2
Tritanopia (blue-blind)
#5484A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e62f5;
/* rgb */ color: rgb(126, 98, 245);
/* oklch */ color: oklch(60.2% 0.210 287.1);
Tailwind
colors: {
  custom: {
    50: '#ac90f9',
    500: '#7e62f5',
    950: '#000000',
  },
}
SCSS
$custom: #7e62f5;
$custom-light: #ac90f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e62f5",
  "rgb": {
    "r": 126,
    "g": 98,
    "b": 245
  },
  "hsl": {
    "h": 251.429,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60227,
    "c": 0.21029,
    "h": 287.1
  },
  "luminance": 0.19764
}

Semantic roles & 50–950 ramp

primary
#7E62F5
secondary
#E8F1C2
accent
#E501B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E62F5

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

Preview Lab → · Contrast checker → · Palette generator →

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