#7F61EB#7F61EB

#7F61EB is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.4% C 0.199 H 288.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7F61EB
RGBrgb(127, 97, 235)
HSLhsl(253, 78%, 65%)
HSVhsv(253, 59%, 92%)
CMYKcmyk(46%, 58.7%, 0%, 7.8%)
CIE-LABlab(50.76, 45.03, -65.96)
CIE-LCHlch(50.76, 79.86, 304.32°)
OKLaboklab(59.44% 0.0644 -0.1884)
OKLCHoklch(59.44% 0.199 288.9)
XYZxyz(28.0182, 19.0585, 80.7835)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F61EB #CDEB61
analogous
#6188EB #7F61EB #C461EB
triadic
#7F61EB #EB7F61 #61EB7F
tetradic
#7F61EB #EB6188 #CDEB61 #61EBC4
square
#7F61EB #EB6188 #CDEB61 #61EBC4
split-complementary
#7F61EB #EBC461 #88EB61
monochromatic
#3B18BA #532BE4 #7F61EB #AB97F2 #D7CEF9

Accessibility & contrast

On white

4.36
#7F61EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7F61EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F61EB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F61EB#FFFFFF#000000##000000
##7F61EB1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#5D809D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7f61eb;
/* rgb */ color: rgb(127, 97, 235);
/* oklch */ color: oklch(59.4% 0.199 288.9);
Tailwind
colors: {
  custom: {
    50: '#ab8ff2',
    500: '#7f61eb',
    950: '#000000',
  },
}
SCSS
$custom: #7f61eb;
$custom-light: #ab8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f61eb",
  "rgb": {
    "r": 127,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 253.043,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59436,
    "c": 0.19912,
    "h": 288.9
  },
  "luminance": 0.1906
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7F61EB

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

Preview Lab → · Contrast checker → · Palette generator →

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