#7E61FA#7E61FA

#7E61FA is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.4% C 0.218 H 286.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7E61FA
RGBrgb(126, 97, 250)
HSLhsl(251, 94%, 68%)
HSVhsv(251, 61%, 98%)
CMYKcmyk(49.6%, 61.2%, 0%, 2%)
CIE-LABlab(51.71, 49.08, -72.80)
CIE-LCHlch(51.71, 87.80, 303.98°)
OKLaboklab(60.44% 0.0624 -0.2085)
OKLCHoklch(60.44% 0.218 286.7)
XYZxyz(30.1291, 19.8857, 92.6747)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E61FA #DDFA61
analogous
#6190FA #7E61FA #CB61FA
triadic
#7E61FA #FA7E61 #61FA7E
tetradic
#7E61FA #FA6190 #DDFA61 #61FACB
square
#7E61FA #FA6190 #DDFA61 #61FACB
split-complementary
#7E61FA #FACB61 #90FA61
monochromatic
#2F07DA #4E26F8 #7E61FA #AE9CFC #DFD8FE

Accessibility & contrast

On white

4.22
#7E61FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7E61FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E61FA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E61FA#FFFFFF#000000##000000
##7E61FA1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e61fa;
/* rgb */ color: rgb(126, 97, 250);
/* oklch */ color: oklch(60.4% 0.218 286.7);
Tailwind
colors: {
  custom: {
    50: '#ac8ffd',
    500: '#7e61fa',
    950: '#000000',
  },
}
SCSS
$custom: #7e61fa;
$custom-light: #ac8ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e61fa",
  "rgb": {
    "r": 126,
    "g": 97,
    "b": 250
  },
  "hsl": {
    "h": 251.373,
    "s": 93.865,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6044,
    "c": 0.21768,
    "h": 286.7
  },
  "luminance": 0.19887
}

Semantic roles & 50–950 ramp

primary
#7E61FA
secondary
#EAF3C4
accent
#E600BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #7E61FA

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

Preview Lab → · Contrast checker → · Palette generator →

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