#7A61EF#7A61EF

#7A61EF is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.3% C 0.204 H 286.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7A61EF
RGBrgb(122, 97, 239)
HSLhsl(251, 82%, 66%)
HSVhsv(251, 59%, 94%)
CMYKcmyk(49%, 59.4%, 0%, 6.3%)
CIE-LABlab(50.59, 45.17, -68.49)
CIE-LCHlch(50.59, 82.05, 303.41°)
OKLaboklab(59.3% 0.0579 -0.196)
OKLCHoklch(59.3% 0.204 286.5)
XYZxyz(27.8761, 18.9176, 83.8273)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A61EF #D6EF61
analogous
#618FEF #7A61EF #C161EF
triadic
#7A61EF #EF7A61 #61EF7A
tetradic
#7A61EF #EF618F #D6EF61 #61EFC1
square
#7A61EF #EF618F #D6EF61 #61EFC1
split-complementary
#7A61EF #EFC161 #8FEF61
monochromatic
#3214C2 #4B29E9 #7A61EF #A999F5 #D8D0FA

Accessibility & contrast

On white

4.39
#7A61EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7A61EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A61EF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A61EF#FFFFFF#000000##000000
##7A61EF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#50829F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a61ef;
/* rgb */ color: rgb(122, 97, 239);
/* oklch */ color: oklch(59.3% 0.204 286.5);
Tailwind
colors: {
  custom: {
    50: '#a98ff5',
    500: '#7a61ef',
    950: '#000000',
  },
}
SCSS
$custom: #7a61ef;
$custom-light: #a98ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a61ef",
  "rgb": {
    "r": 122,
    "g": 97,
    "b": 239
  },
  "hsl": {
    "h": 250.563,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59296,
    "c": 0.20438,
    "h": 286.5
  },
  "luminance": 0.18919
}

Semantic roles & 50–950 ramp

primary
#7A61EF
secondary
#E5EDBE
accent
#DE08B8
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #7A61EF

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

Preview Lab → · Contrast checker → · Palette generator →

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