#7E60FA#7E60FA

#7E60FA is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.3% C 0.219 H 286.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7E60FA
RGBrgb(126, 96, 250)
HSLhsl(252, 94%, 68%)
HSVhsv(252, 62%, 98%)
CMYKcmyk(49.6%, 61.6%, 0%, 2%)
CIE-LABlab(51.50, 49.63, -73.14)
CIE-LCHlch(51.50, 88.39, 304.16°)
OKLaboklab(60.29% 0.0634 -0.2095)
OKLCHoklch(60.29% 0.219 286.8)
XYZxyz(30.0373, 19.7021, 92.6441)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E60FA #DCFA60
analogous
#608FFA #7E60FA #CB60FA
triadic
#7E60FA #FA7E60 #60FA7E
tetradic
#7E60FA #FA608F #DCFA60 #60FACB
square
#7E60FA #FA608F #DCFA60 #60FACB
split-complementary
#7E60FA #FACB60 #8FFA60
monochromatic
#3007D9 #4E25F8 #7E60FA #AE9BFC #DED7FE

Accessibility & contrast

On white

4.25
#7E60FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7E60FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E60FA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E60FA#FFFFFF#000000##000000
##7E60FA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0076F7
Tritanopia (blue-blind)
#5185A4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e60fa;
/* rgb */ color: rgb(126, 96, 250);
/* oklch */ color: oklch(60.3% 0.219 286.8);
Tailwind
colors: {
  custom: {
    50: '#ac8efd',
    500: '#7e60fa',
    950: '#000000',
  },
}
SCSS
$custom: #7e60fa;
$custom-light: #ac8efd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e60fa",
  "rgb": {
    "r": 126,
    "g": 96,
    "b": 250
  },
  "hsl": {
    "h": 251.688,
    "s": 93.902,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60288,
    "c": 0.21892,
    "h": 286.8
  },
  "luminance": 0.19703
}

Semantic roles & 50–950 ramp

primary
#7E60FA
secondary
#E9F3C3
accent
#E600B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7E60FA

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

Preview Lab → · Contrast checker → · Palette generator →

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