#7A6EC3#7A6EC3

#7A6EC3 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.7% C 0.127 H 288.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7A6EC3
RGBrgb(122, 110, 195)
HSLhsl(248, 41%, 60%)
HSVhsv(248, 44%, 76%)
CMYKcmyk(37.4%, 43.6%, 0%, 23.5%)
CIE-LABlab(50.95, 25.00, -42.97)
CIE-LCHlch(50.95, 49.71, 300.19°)
OKLaboklab(58.71% 0.04 -0.121)
OKLCHoklch(58.71% 0.127 288.3)
XYZxyz(23.4496, 19.2289, 54.0952)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6EC3 #B7C36E
analogous
#6E8CC3 #7A6EC3 #A56EC3
triadic
#7A6EC3 #C37A6E #6EC37A
tetradic
#7A6EC3 #C36E8C #B7C36E #6EC3A5
square
#7A6EC3 #C36E8C #B7C36E #6EC3A5
split-complementary
#7A6EC3 #C3A56E #8CC36E
monochromatic
#403581 #5647AC #7A6EC3 #A299D5 #C9C5E7

Accessibility & contrast

On white

4.33
#7A6EC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7A6EC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6EC3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6EC3#FFFFFF#000000##000000
##7A6EC31.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#517BC6
Deuteranopia (green-blind)
#5177C1
Tritanopia (blue-blind)
#677E8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7a6ec3;
/* rgb */ color: rgb(122, 110, 195);
/* oklch */ color: oklch(58.7% 0.127 288.3);
Tailwind
colors: {
  custom: {
    50: '#a397d5',
    500: '#7a6ec3',
    950: '#000000',
  },
}
SCSS
$custom: #7a6ec3;
$custom-light: #a397d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6ec3",
  "rgb": {
    "r": 122,
    "g": 110,
    "b": 195
  },
  "hsl": {
    "h": 248.471,
    "s": 41.463,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58708,
    "c": 0.12748,
    "h": 288.3
  },
  "luminance": 0.1923
}

Semantic roles & 50–950 ramp

primary
#7A6EC3
secondary
#D2D7B6
accent
#D157C0
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0D14
muted
#7F7E83

Preview Lab

Preview with #7A6EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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