#7A6DEB#7A6DEB

#7A6DEB is a mid, vivid blue. Relative luminance 0.211; OKLCH L 61.0% C 0.183 H 284.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7A6DEB
RGBrgb(122, 109, 235)
HSLhsl(246, 76%, 67%)
HSVhsv(246, 54%, 92%)
CMYKcmyk(48.1%, 53.6%, 0%, 7.8%)
CIE-LABlab(53.03, 37.07, -62.32)
CIE-LCHlch(53.03, 72.51, 300.75°)
OKLaboklab(61.01% 0.0451 -0.1778)
OKLCHoklch(61.01% 0.183 284.2)
XYZxyz(28.4856, 21.0716, 81.1474)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6DEB #DEEB6D
analogous
#6D9FEB #7A6DEB #B96DEB
triadic
#7A6DEB #EB7A6D #6DEB7A
tetradic
#7A6DEB #EB6D9F #DEEB6D #6DEBB9
square
#7A6DEB #EB6D9F #DEEB6D #6DEBB9
split-complementary
#7A6DEB #EBB96D #9FEB6D
monochromatic
#2C1BC3 #4937E4 #7A6DEB #ABA3F2 #DCD9FA

Accessibility & contrast

On white

4.03
#7A6DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#7A6DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6DEB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6DEB#FFFFFF#000000##000000
##7A6DEB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2782EF
Deuteranopia (green-blind)
#1F7BE8
Tritanopia (blue-blind)
#5289A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a6deb;
/* rgb */ color: rgb(122, 109, 235);
/* oklch */ color: oklch(61.0% 0.183 284.2);
Tailwind
colors: {
  custom: {
    50: '#a797f2',
    500: '#7a6deb',
    950: '#000000',
  },
}
SCSS
$custom: #7a6deb;
$custom-light: #a797f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6deb",
  "rgb": {
    "r": 122,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 246.19,
    "s": 75.904,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61012,
    "c": 0.18341,
    "h": 284.2
  },
  "luminance": 0.21073
}

Semantic roles & 50–950 ramp

primary
#7A6DEB
secondary
#EAEEC6
accent
#D80DC3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A6DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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