#7A61EA#7A61EA

#7A61EA is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.9% C 0.198 H 287.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7A61EA
RGBrgb(122, 97, 234)
HSLhsl(251, 77%, 65%)
HSVhsv(251, 59%, 92%)
CMYKcmyk(47.9%, 58.5%, 0%, 8.2%)
CIE-LABlab(50.25, 43.73, -66.24)
CIE-LCHlch(50.25, 79.38, 303.43°)
OKLaboklab(58.94% 0.0581 -0.1894)
OKLCHoklch(58.94% 0.198 287.1)
XYZxyz(27.1477, 18.6263, 79.9907)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A61EA #D1EA61
analogous
#618DEA #7A61EA #BF61EA
triadic
#7A61EA #EA7A61 #61EA7A
tetradic
#7A61EA #EA618D #D1EA61 #61EABF
square
#7A61EA #EA618D #D1EA61 #61EABF
split-complementary
#7A61EA #EABF61 #8DEA61
monochromatic
#3618B8 #4D2BE3 #7A61EA #A797F1 #D5CDF8

Accessibility & contrast

On white

4.44
#7A61EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7A61EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A61EA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A61EA#FFFFFF#000000##000000
##7A61EA1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#54809C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a61ea;
/* rgb */ color: rgb(122, 97, 234);
/* oklch */ color: oklch(58.9% 0.198 287.1);
Tailwind
colors: {
  custom: {
    50: '#a88ff2',
    500: '#7a61ea',
    950: '#000000',
  },
}
SCSS
$custom: #7a61ea;
$custom-light: #a88ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a61ea",
  "rgb": {
    "r": 122,
    "g": 97,
    "b": 234
  },
  "hsl": {
    "h": 250.949,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.58935,
    "c": 0.1981,
    "h": 287.1
  },
  "luminance": 0.18627
}

Semantic roles & 50–950 ramp

primary
#7A61EA
secondary
#E2EBBC
accent
#D90DB4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #7A61EA

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

Preview Lab → · Contrast checker → · Palette generator →

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