#7E61FB#7E61FB

#7E61FB is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.5% C 0.219 H 286.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7E61FB
RGBrgb(126, 97, 251)
HSLhsl(251, 95%, 68%)
HSVhsv(251, 61%, 98%)
CMYKcmyk(49.8%, 61.4%, 0%, 1.6%)
CIE-LABlab(51.78, 49.36, -73.24)
CIE-LCHlch(51.78, 88.32, 303.98°)
OKLaboklab(60.51% 0.0623 -0.2098)
OKLCHoklch(60.51% 0.219 286.5)
XYZxyz(30.2863, 19.9486, 93.5027)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E61FB #DEFB61
analogous
#6191FB #7E61FB #CB61FB
triadic
#7E61FB #FB7E61 #61FB7E
tetradic
#7E61FB #FB6191 #DEFB61 #61FBCB
square
#7E61FB #FB6191 #DEFB61 #61FBCB
split-complementary
#7E61FB #FBCB61 #91FB61
monochromatic
#2E06DC #4D25F9 #7E61FB #AF9DFD #DFD8FE

Accessibility & contrast

On white

4.21
#7E61FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7E61FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E61FB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E61FB#FFFFFF#000000##000000
##7E61FB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e61fb;
/* rgb */ color: rgb(126, 97, 251);
/* oklch */ color: oklch(60.5% 0.219 286.5);
Tailwind
colors: {
  custom: {
    50: '#ac8ffe',
    500: '#7e61fb',
    950: '#000000',
  },
}
SCSS
$custom: #7e61fb;
$custom-light: #ac8ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#7e61fb",
  "rgb": {
    "r": 126,
    "g": 97,
    "b": 251
  },
  "hsl": {
    "h": 251.299,
    "s": 95.062,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60515,
    "c": 0.21891,
    "h": 286.5
  },
  "luminance": 0.1995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E61FB

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

Preview Lab → · Contrast checker → · Palette generator →

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