#7E61DF#7E61DF

#7E61DF is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.5% C 0.184 H 290.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7E61DF
RGBrgb(126, 97, 223)
HSLhsl(254, 66%, 63%)
HSVhsv(254, 57%, 87%)
CMYKcmyk(43.5%, 56.5%, 0%, 12.5%)
CIE-LABlab(49.87, 41.45, -60.63)
CIE-LCHlch(49.87, 73.45, 304.36°)
OKLaboklab(58.51% 0.0633 -0.1728)
OKLCHoklch(58.51% 0.184 290.1)
XYZxyz(26.1944, 18.3118, 71.9521)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E61DF #C2DF61
analogous
#6183DF #7E61DF #BD61DF
triadic
#7E61DF #DF7E61 #61DF7E
tetradic
#7E61DF #DF6183 #C2DF61 #61DFBD
square
#7E61DF #DF6183 #C2DF61 #61DFBD
split-complementary
#7E61DF #DFBD61 #83DF61
monochromatic
#3F21A4 #542ED5 #7E61DF #A894E9 #D1C7F4

Accessibility & contrast

On white

4.50
#7E61DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7E61DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E61DF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E61DF#FFFFFF#000000##000000
##7E61DF1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1379E3
Deuteranopia (green-blind)
#1C74DC
Tritanopia (blue-blind)
#627D97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7e61df;
/* rgb */ color: rgb(126, 97, 223);
/* oklch */ color: oklch(58.5% 0.184 290.1);
Tailwind
colors: {
  custom: {
    50: '#a98fea',
    500: '#7e61df',
    950: '#000000',
  },
}
SCSS
$custom: #7e61df;
$custom-light: #a98fea;
$custom-dark: #000000;
JSON
{
  "hex": "#7e61df",
  "rgb": {
    "r": 126,
    "g": 97,
    "b": 223
  },
  "hsl": {
    "h": 253.81,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58513,
    "c": 0.184,
    "h": 290.1
  },
  "luminance": 0.18313
}

Semantic roles & 50–950 ramp

primary
#7E61DF
secondary
#DAE5B7
accent
#CE17A4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7E61DF

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

Preview Lab → · Contrast checker → · Palette generator →

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