#7A61DF#7A61DF

#7A61DF is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.2% C 0.184 H 288.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7A61DF
RGBrgb(122, 97, 223)
HSLhsl(252, 66%, 63%)
HSVhsv(252, 57%, 87%)
CMYKcmyk(45.3%, 56.5%, 0%, 12.5%)
CIE-LABlab(49.51, 40.59, -61.23)
CIE-LCHlch(49.51, 73.46, 303.54°)
OKLaboklab(58.16% 0.0583 -0.1746)
OKLCHoklch(58.16% 0.184 288.5)
XYZxyz(25.6162, 18.0137, 71.9250)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A61DF #C6DF61
analogous
#6187DF #7A61DF #B961DF
triadic
#7A61DF #DF7A61 #61DF7A
tetradic
#7A61DF #DF6187 #C6DF61 #61DFB9
square
#7A61DF #DF6187 #C6DF61 #61DFB9
split-complementary
#7A61DF #DFB961 #87DF61
monochromatic
#3B21A4 #4F2ED5 #7A61DF #A594E9 #D0C7F4

Accessibility & contrast

On white

4.56
#7A61DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7A61DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A61DF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A61DF#FFFFFF#000000##000000
##7A61DF1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E78E3
Deuteranopia (green-blind)
#1273DC
Tritanopia (blue-blind)
#5A7D97
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a61df;
/* rgb */ color: rgb(122, 97, 223);
/* oklch */ color: oklch(58.2% 0.184 288.5);
Tailwind
colors: {
  custom: {
    50: '#a78fea',
    500: '#7a61df',
    950: '#000000',
  },
}
SCSS
$custom: #7a61df;
$custom-light: #a78fea;
$custom-dark: #000000;
JSON
{
  "hex": "#7a61df",
  "rgb": {
    "r": 122,
    "g": 97,
    "b": 223
  },
  "hsl": {
    "h": 251.905,
    "s": 66.316,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58161,
    "c": 0.1841,
    "h": 288.5
  },
  "luminance": 0.18015
}

Semantic roles & 50–950 ramp

primary
#7A61DF
secondary
#DCE5B7
accent
#CE17AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7A61DF

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

Preview Lab → · Contrast checker → · Palette generator →

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