#7E62F1#7E62F1

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

Color values

HEX#7E62F1
RGBrgb(126, 98, 241)
HSLhsl(252, 84%, 66%)
HSVhsv(252, 59%, 95%)
CMYKcmyk(47.7%, 59.3%, 0%, 5.5%)
CIE-LABlab(51.29, 45.96, -68.46)
CIE-LCHlch(51.29, 82.46, 303.87°)
OKLaboklab(59.94% 0.0619 -0.1958)
OKLCHoklch(59.94% 0.205 287.5)
XYZxyz(28.8444, 19.5206, 85.4500)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E62F1 #D5F162
analogous
#628EF1 #7E62F1 #C662F1
triadic
#7E62F1 #F17E62 #62F17E
tetradic
#7E62F1 #F1628E #D5F162 #62F1C6
square
#7E62F1 #F1628E #D5F162 #62F1C6
split-complementary
#7E62F1 #F1C662 #8EF162
monochromatic
#3512C7 #502AEC #7E62F1 #AC9AF6 #DAD2FB

Accessibility & contrast

On white

4.28
#7E62F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7E62F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E62F1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E62F1#FFFFFF#000000##000000
##7E62F11.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF6
Deuteranopia (green-blind)
#0076EE
Tritanopia (blue-blind)
#5783A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e62f1;
/* rgb */ color: rgb(126, 98, 241);
/* oklch */ color: oklch(59.9% 0.205 287.5);
Tailwind
colors: {
  custom: {
    50: '#ab90f7',
    500: '#7e62f1',
    950: '#000000',
  },
}
SCSS
$custom: #7e62f1;
$custom-light: #ab90f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e62f1",
  "rgb": {
    "r": 126,
    "g": 98,
    "b": 241
  },
  "hsl": {
    "h": 251.748,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59937,
    "c": 0.20533,
    "h": 287.5
  },
  "luminance": 0.19522
}

Semantic roles & 50–950 ramp

primary
#7E62F1
secondary
#E6EFC0
accent
#E005B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #7E62F1

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

Preview Lab → · Contrast checker → · Palette generator →

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