#7F62EA#7F62EA

#7F62EA is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.5% C 0.197 H 288.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7F62EA
RGBrgb(127, 98, 234)
HSLhsl(253, 76%, 65%)
HSVhsv(253, 58%, 92%)
CMYKcmyk(45.7%, 58.1%, 0%, 8.2%)
CIE-LABlab(50.91, 44.18, -65.16)
CIE-LCHlch(50.91, 78.72, 304.14°)
OKLaboklab(59.52% 0.0634 -0.186)
OKLCHoklch(59.52% 0.197 288.8)
XYZxyz(27.9671, 19.1868, 80.0558)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F62EA #CDEA62
analogous
#6289EA #7F62EA #C362EA
triadic
#7F62EA #EA7F62 #62EA7F
tetradic
#7F62EA #EA6289 #CDEA62 #62EAC3
square
#7F62EA #EA6289 #CDEA62 #62EAC3
split-complementary
#7F62EA #EAC362 #89EA62
monochromatic
#3B19B9 #532CE3 #7F62EA #AB98F1 #D7CEF8

Accessibility & contrast

On white

4.34
#7F62EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7F62EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F62EA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F62EA#FFFFFF#000000##000000
##7F62EA1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#5D819D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7f62ea;
/* rgb */ color: rgb(127, 98, 234);
/* oklch */ color: oklch(59.5% 0.197 288.8);
Tailwind
colors: {
  custom: {
    50: '#ab90f2',
    500: '#7f62ea',
    950: '#000000',
  },
}
SCSS
$custom: #7f62ea;
$custom-light: #ab90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f62ea",
  "rgb": {
    "r": 127,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 252.794,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59525,
    "c": 0.19654,
    "h": 288.8
  },
  "luminance": 0.19188
}

Semantic roles & 50–950 ramp

primary
#7F62EA
secondary
#E1EBBD
accent
#D90DAD
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F62EA

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

Preview Lab → · Contrast checker → · Palette generator →

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