#7F61E7#7F61E7

#7F61E7 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.2% C 0.194 H 289.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7F61E7
RGBrgb(127, 97, 231)
HSLhsl(253, 74%, 64%)
HSVhsv(253, 58%, 91%)
CMYKcmyk(45%, 58%, 0%, 9.4%)
CIE-LABlab(50.49, 43.90, -64.15)
CIE-LCHlch(50.49, 77.73, 304.39°)
OKLaboklab(59.16% 0.0645 -0.1831)
OKLCHoklch(59.16% 0.194 289.4)
XYZxyz(27.4468, 18.8299, 77.7742)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F61E7 #C9E761
analogous
#6186E7 #7F61E7 #C261E7
triadic
#7F61E7 #E77F61 #61E77F
tetradic
#7F61E7 #E76186 #C9E761 #61E7C2
square
#7F61E7 #E76186 #C9E761 #61E7C2
split-complementary
#7F61E7 #E7C261 #86E761
monochromatic
#3D1BB2 #542CDF #7F61E7 #AA96EF #D5CBF7

Accessibility & contrast

On white

4.41
#7F61E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7F61E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F61E7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F61E7#FFFFFF#000000##000000
##7F61E71.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#0075E4
Tritanopia (blue-blind)
#5F7F9B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7f61e7;
/* rgb */ color: rgb(127, 97, 231);
/* oklch */ color: oklch(59.2% 0.194 289.4);
Tailwind
colors: {
  custom: {
    50: '#ab8fef',
    500: '#7f61e7',
    950: '#000000',
  },
}
SCSS
$custom: #7f61e7;
$custom-light: #ab8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#7f61e7",
  "rgb": {
    "r": 127,
    "g": 97,
    "b": 231
  },
  "hsl": {
    "h": 253.433,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59155,
    "c": 0.19411,
    "h": 289.4
  },
  "luminance": 0.18831
}

Semantic roles & 50–950 ramp

primary
#7F61E7
secondary
#DFE9BB
accent
#D610A9
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #7F61E7

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

Preview Lab → · Contrast checker → · Palette generator →

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