#7A61DC#7A61DC

#7A61DC is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.0% C 0.180 H 288.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7A61DC
RGBrgb(122, 97, 220)
HSLhsl(252, 64%, 62%)
HSVhsv(252, 56%, 86%)
CMYKcmyk(44.5%, 55.9%, 0%, 13.7%)
CIE-LABlab(49.32, 39.73, -59.84)
CIE-LCHlch(49.32, 71.83, 303.58°)
OKLaboklab(57.96% 0.0583 -0.1706)
OKLCHoklch(57.96% 0.18 288.9)
XYZxyz(25.2153, 17.8533, 69.8137)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A61DC #C3DC61
analogous
#6186DC #7A61DC #B861DC
triadic
#7A61DC #DC7A61 #61DC7A
tetradic
#7A61DC #DC6186 #C3DC61 #61DCB8
square
#7A61DC #DC6186 #C3DC61 #61DCB8
split-complementary
#7A61DC #DCB861 #86DC61
monochromatic
#3C239F #502FD1 #7A61DC #A493E7 #CEC5F2

Accessibility & contrast

On white

4.59
#7A61DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7A61DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A61DC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A61DC#FFFFFF#000000##FFFFFF
##7A61DC1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1778E0
Deuteranopia (green-blind)
#1B72D9
Tritanopia (blue-blind)
#5C7C95
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a61dc;
/* rgb */ color: rgb(122, 97, 220);
/* oklch */ color: oklch(58.0% 0.180 288.9);
Tailwind
colors: {
  custom: {
    50: '#a68ee8',
    500: '#7a61dc',
    950: '#000000',
  },
}
SCSS
$custom: #7a61dc;
$custom-light: #a68ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a61dc",
  "rgb": {
    "r": 122,
    "g": 97,
    "b": 220
  },
  "hsl": {
    "h": 252.195,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57955,
    "c": 0.18024,
    "h": 288.9
  },
  "luminance": 0.17854
}

Semantic roles & 50–950 ramp

primary
#7A61DC
secondary
#DAE3B6
accent
#CC1AA7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7A61DC

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

Preview Lab → · Contrast checker → · Palette generator →

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