#7A6DC2#7A6DC2

#7A6DC2 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.5% C 0.128 H 288.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7A6DC2
RGBrgb(122, 109, 194)
HSLhsl(249, 41%, 59%)
HSVhsv(249, 44%, 76%)
CMYKcmyk(37.1%, 43.8%, 0%, 23.9%)
CIE-LABlab(50.65, 25.32, -42.87)
CIE-LCHlch(50.65, 49.79, 300.57°)
OKLaboklab(58.46% 0.0412 -0.1208)
OKLCHoklch(58.46% 0.128 288.8)
XYZxyz(23.2296, 18.9692, 53.4660)
Luminance0.1897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6DC2 #B5C26D
analogous
#6D8BC2 #7A6DC2 #A46DC2
triadic
#7A6DC2 #C27A6D #6DC27A
tetradic
#7A6DC2 #C26D8B #B5C26D #6DC2A4
square
#7A6DC2 #C26D8B #B5C26D #6DC2A4
split-complementary
#7A6DC2 #C2A46D #8BC26D
monochromatic
#41357F #5647AB #7A6DC2 #A198D4 #C9C3E6

Accessibility & contrast

On white

4.38
#7A6DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7A6DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6DC2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6DC2#FFFFFF#000000##000000
##7A6DC21.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#507AC5
Deuteranopia (green-blind)
#5077C0
Tritanopia (blue-blind)
#677D8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7a6dc2;
/* rgb */ color: rgb(122, 109, 194);
/* oklch */ color: oklch(58.5% 0.128 288.8);
Tailwind
colors: {
  custom: {
    50: '#a397d5',
    500: '#7a6dc2',
    950: '#000000',
  },
}
SCSS
$custom: #7a6dc2;
$custom-light: #a397d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6dc2",
  "rgb": {
    "r": 122,
    "g": 109,
    "b": 194
  },
  "hsl": {
    "h": 249.176,
    "s": 41.063,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58462,
    "c": 0.12759,
    "h": 288.8
  },
  "luminance": 0.1897
}

Semantic roles & 50–950 ramp

primary
#7A6DC2
secondary
#D1D6B5
accent
#D157BE
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0D14
muted
#7F7E83

Preview Lab

Preview with #7A6DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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