#7E62F0#7E62F0

#7E62F0 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 59.9% C 0.204 H 287.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7E62F0
RGBrgb(126, 98, 240)
HSLhsl(252, 83%, 66%)
HSVhsv(252, 59%, 94%)
CMYKcmyk(47.5%, 59.2%, 0%, 5.9%)
CIE-LABlab(51.22, 45.67, -68.01)
CIE-LCHlch(51.22, 81.93, 303.88°)
OKLaboklab(59.87% 0.0619 -0.1945)
OKLCHoklch(59.87% 0.204 287.7)
XYZxyz(28.6955, 19.4610, 84.6655)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E62F0 #D4F062
analogous
#628DF0 #7E62F0 #C562F0
triadic
#7E62F0 #F07E62 #62F07E
tetradic
#7E62F0 #F0628D #D4F062 #62F0C5
square
#7E62F0 #F0628D #D4F062 #62F0C5
split-complementary
#7E62F0 #F0C562 #8DF062
monochromatic
#3613C5 #502AEB #7E62F0 #AC9AF5 #DAD2FB

Accessibility & contrast

On white

4.29
#7E62F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#7E62F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E62F0
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E62F0#FFFFFF#000000##000000
##7E62F01.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF5
Deuteranopia (green-blind)
#0076ED
Tritanopia (blue-blind)
#5883A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e62f0;
/* rgb */ color: rgb(126, 98, 240);
/* oklch */ color: oklch(59.9% 0.204 287.7);
Tailwind
colors: {
  custom: {
    50: '#ab90f6',
    500: '#7e62f0',
    950: '#000000',
  },
}
SCSS
$custom: #7e62f0;
$custom-light: #ab90f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e62f0",
  "rgb": {
    "r": 126,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 251.831,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.59865,
    "c": 0.20408,
    "h": 287.7
  },
  "luminance": 0.19462
}

Semantic roles & 50–950 ramp

primary
#7E62F0
secondary
#E5EEC0
accent
#DF07B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E62F0

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

Preview Lab → · Contrast checker → · Palette generator →

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