#7A61DD#7A61DD

#7A61DD is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.0% C 0.182 H 288.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#7A61DD
RGBrgb(122, 97, 221)
HSLhsl(252, 65%, 62%)
HSVhsv(252, 56%, 87%)
CMYKcmyk(44.8%, 56.1%, 0%, 13.3%)
CIE-LABlab(49.38, 40.02, -60.31)
CIE-LCHlch(49.38, 72.38, 303.57°)
OKLaboklab(58.02% 0.0583 -0.1719)
OKLCHoklch(58.02% 0.182 288.7)
XYZxyz(25.3482, 17.9065, 70.5133)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A61DD #C4DD61
analogous
#6186DD #7A61DD #B861DD
triadic
#7A61DD #DD7A61 #61DD7A
tetradic
#7A61DD #DD6186 #C4DD61 #61DDB8
square
#7A61DD #DD6186 #C4DD61 #61DDB8
split-complementary
#7A61DD #DDB861 #86DD61
monochromatic
#3C23A1 #502FD2 #7A61DD #A493E8 #CFC6F3

Accessibility & contrast

On white

4.58
#7A61DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7A61DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A61DD
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A61DD#FFFFFF#000000##000000
##7A61DD1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1578E1
Deuteranopia (green-blind)
#1972DA
Tritanopia (blue-blind)
#5C7C96
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a61dd;
/* rgb */ color: rgb(122, 97, 221);
/* oklch */ color: oklch(58.0% 0.182 288.7);
Tailwind
colors: {
  custom: {
    50: '#a78fe8',
    500: '#7a61dd',
    950: '#000000',
  },
}
SCSS
$custom: #7a61dd;
$custom-light: #a78fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a61dd",
  "rgb": {
    "r": 122,
    "g": 97,
    "b": 221
  },
  "hsl": {
    "h": 252.097,
    "s": 64.583,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58023,
    "c": 0.18152,
    "h": 288.7
  },
  "luminance": 0.17907
}

Semantic roles & 50–950 ramp

primary
#7A61DD
secondary
#DAE4B6
accent
#CC19A8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7A61DD

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

Preview Lab → · Contrast checker → · Palette generator →

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