#7A6DF7#7A6DF7

#7A6DF7 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.8% C 0.199 H 283.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7A6DF7
RGBrgb(122, 109, 247)
HSLhsl(246, 90%, 70%)
HSVhsv(246, 56%, 97%)
CMYKcmyk(50.6%, 55.9%, 0%, 3.1%)
CIE-LABlab(53.80, 40.61, -67.76)
CIE-LCHlch(53.80, 78.99, 300.94°)
OKLaboklab(61.83% 0.0453 -0.1938)
OKLCHoklch(61.83% 0.199 283.2)
XYZxyz(30.2781, 21.7886, 90.5878)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6DF7 #EAF76D
analogous
#6DA5F7 #7A6DF7 #BF6DF7
triadic
#7A6DF7 #F77A6D #6DF77A
tetradic
#7A6DF7 #F76DA5 #EAF76D #6DF7BF
square
#7A6DF7 #F76DA5 #EAF76D #6DF7BF
split-complementary
#7A6DF7 #F7BF6D #A5F76D
monochromatic
#200CDD #4533F4 #7A6DF7 #AFA7FA #E4E1FD

Accessibility & contrast

On white

3.92
#7A6DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7A6DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6DF7
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6DF7#FFFFFF#000000##000000
##7A6DF71.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FC
Deuteranopia (green-blind)
#007CF4
Tritanopia (blue-blind)
#498DA8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a6df7;
/* rgb */ color: rgb(122, 109, 247);
/* oklch */ color: oklch(61.8% 0.199 283.2);
Tailwind
colors: {
  custom: {
    50: '#a997fb',
    500: '#7a6df7',
    950: '#000000',
  },
}
SCSS
$custom: #7a6df7;
$custom-light: #a997fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6df7",
  "rgb": {
    "r": 122,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 245.652,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61834,
    "c": 0.19902,
    "h": 283.2
  },
  "luminance": 0.2179
}

Semantic roles & 50–950 ramp

primary
#7A6DF7
secondary
#F0F3CC
accent
#E600D0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7A6DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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