#7F62EE#7F62EE

#7F62EE is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 59.8% C 0.202 H 288.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7F62EE
RGBrgb(127, 98, 238)
HSLhsl(252, 80%, 66%)
HSVhsv(252, 59%, 93%)
CMYKcmyk(46.6%, 58.8%, 0%, 6.7%)
CIE-LABlab(51.17, 45.31, -66.97)
CIE-LCHlch(51.17, 80.85, 304.08°)
OKLaboklab(59.81% 0.0632 -0.1914)
OKLCHoklch(59.81% 0.202 288.3)
XYZxyz(28.5483, 19.4193, 83.1164)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F62EE #D1EE62
analogous
#628BEE #7F62EE #C562EE
triadic
#7F62EE #EE7F62 #62EE7F
tetradic
#7F62EE #EE628B #D1EE62 #62EEC5
square
#7F62EE #EE628B #D1EE62 #62EEC5
split-complementary
#7F62EE #EEC562 #8BEE62
monochromatic
#3815C1 #522BE8 #7F62EE #AC99F4 #D9D0FA

Accessibility & contrast

On white

4.30
#7F62EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7F62EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F62EE
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F62EE#FFFFFF#000000##000000
##7F62EE1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#0076EB
Tritanopia (blue-blind)
#5B829F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7f62ee;
/* rgb */ color: rgb(127, 98, 238);
/* oklch */ color: oklch(59.8% 0.202 288.3);
Tailwind
colors: {
  custom: {
    50: '#ab90f4',
    500: '#7f62ee',
    950: '#000000',
  },
}
SCSS
$custom: #7f62ee;
$custom-light: #ab90f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f62ee",
  "rgb": {
    "r": 127,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 252.429,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59808,
    "c": 0.20154,
    "h": 288.3
  },
  "luminance": 0.1942
}

Semantic roles & 50–950 ramp

primary
#7F62EE
secondary
#E3EDBF
accent
#DD09B1
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F62EE

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

Preview Lab → · Contrast checker → · Palette generator →

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