#7E61DD#7E61DD

#7E61DD is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.4% C 0.181 H 290.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7E61DD
RGBrgb(126, 97, 221)
HSLhsl(254, 65%, 62%)
HSVhsv(254, 56%, 87%)
CMYKcmyk(43%, 56.1%, 0%, 13.3%)
CIE-LABlab(49.74, 40.89, -59.71)
CIE-LCHlch(49.74, 72.37, 304.41°)
OKLaboklab(58.38% 0.0633 -0.17)
OKLCHoklch(58.38% 0.181 290.4)
XYZxyz(25.9264, 18.2046, 70.5404)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E61DD #C0DD61
analogous
#6182DD #7E61DD #BC61DD
triadic
#7E61DD #DD7E61 #61DD7E
tetradic
#7E61DD #DD6182 #C0DD61 #61DDBC
square
#7E61DD #DD6182 #C0DD61 #61DDBC
split-complementary
#7E61DD #DDBC61 #82DD61
monochromatic
#4023A1 #552FD2 #7E61DD #A793E8 #D0C6F3

Accessibility & contrast

On white

4.52
#7E61DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7E61DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E61DD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E61DD#FFFFFF#000000##000000
##7E61DD1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1979E1
Deuteranopia (green-blind)
#2074DA
Tritanopia (blue-blind)
#637C96
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e61dd;
/* rgb */ color: rgb(126, 97, 221);
/* oklch */ color: oklch(58.4% 0.181 290.4);
Tailwind
colors: {
  custom: {
    50: '#a98fe8',
    500: '#7e61dd',
    950: '#000000',
  },
}
SCSS
$custom: #7e61dd;
$custom-light: #a98fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e61dd",
  "rgb": {
    "r": 126,
    "g": 97,
    "b": 221
  },
  "hsl": {
    "h": 254.032,
    "s": 64.583,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58377,
    "c": 0.18145,
    "h": 290.4
  },
  "luminance": 0.18205
}

Semantic roles & 50–950 ramp

primary
#7E61DD
secondary
#D9E4B6
accent
#CC19A2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7E61DD

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

Preview Lab → · Contrast checker → · Palette generator →

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