#7E60FC#7E60FC

#7E60FC is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.4% C 0.221 H 286.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7E60FC
RGBrgb(126, 96, 252)
HSLhsl(252, 96%, 68%)
HSVhsv(252, 62%, 99%)
CMYKcmyk(50%, 61.9%, 0%, 1.2%)
CIE-LABlab(51.64, 50.20, -74.02)
CIE-LCHlch(51.64, 89.43, 304.14°)
OKLaboklab(60.44% 0.0632 -0.2121)
OKLCHoklch(60.44% 0.221 286.6)
XYZxyz(30.3526, 19.8282, 94.3045)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E60FC #DEFC60
analogous
#6090FC #7E60FC #CC60FC
triadic
#7E60FC #FC7E60 #60FC7E
tetradic
#7E60FC #FC6090 #DEFC60 #60FCCC
square
#7E60FC #FC6090 #DEFC60 #60FCCC
split-complementary
#7E60FC #FCCC60 #90FC60
monochromatic
#2E04DD #4D24FB #7E60FC #AF9CFD #DFD8FE

Accessibility & contrast

On white

4.23
#7E60FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#7E60FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E60FC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E60FC#FFFFFF#000000##000000
##7E60FC1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0077F9
Tritanopia (blue-blind)
#4F85A5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e60fc;
/* rgb */ color: rgb(126, 96, 252);
/* oklch */ color: oklch(60.4% 0.221 286.6);
Tailwind
colors: {
  custom: {
    50: '#ad8ffe',
    500: '#7e60fc',
    950: '#000000',
  },
}
SCSS
$custom: #7e60fc;
$custom-light: #ad8ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e60fc",
  "rgb": {
    "r": 126,
    "g": 96,
    "b": 252
  },
  "hsl": {
    "h": 251.538,
    "s": 96.296,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60438,
    "c": 0.22135,
    "h": 286.6
  },
  "luminance": 0.1983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E60FC

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

Preview Lab → · Contrast checker → · Palette generator →

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