#7A6BF6#7A6BF6

#7A6BF6 is a mid, highly saturated blue. Relative luminance 0.213; OKLCH L 61.4% C 0.200 H 283.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7A6BF6
RGBrgb(122, 107, 246)
HSLhsl(246, 89%, 69%)
HSVhsv(246, 57%, 96%)
CMYKcmyk(50.4%, 56.5%, 0%, 3.5%)
CIE-LABlab(53.28, 41.48, -68.04)
CIE-LCHlch(53.28, 79.69, 301.36°)
OKLaboklab(61.43% 0.0474 -0.1946)
OKLCHoklch(61.43% 0.2 283.7)
XYZxyz(29.9133, 21.3052, 89.7070)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6BF6 #E7F66B
analogous
#6BA2F6 #7A6BF6 #C06BF6
triadic
#7A6BF6 #F67A6B #6BF67A
tetradic
#7A6BF6 #F66BA2 #E7F66B #6BF6C0
square
#7A6BF6 #F66BA2 #E7F66B #6BF6C0
split-complementary
#7A6BF6 #F6C06B #A2F66B
monochromatic
#230DD9 #4631F2 #7A6BF6 #AEA5FA #E2DEFD

Accessibility & contrast

On white

3.99
#7A6BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#7A6BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6BF6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6BF6#FFFFFF#000000##000000
##7A6BF61.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FB
Deuteranopia (green-blind)
#007BF3
Tritanopia (blue-blind)
#4A8BA6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a6bf6;
/* rgb */ color: rgb(122, 107, 246);
/* oklch */ color: oklch(61.4% 0.200 283.7);
Tailwind
colors: {
  custom: {
    50: '#a996fa',
    500: '#7a6bf6',
    950: '#000000',
  },
}
SCSS
$custom: #7a6bf6;
$custom-light: #a996fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6bf6",
  "rgb": {
    "r": 122,
    "g": 107,
    "b": 246
  },
  "hsl": {
    "h": 246.475,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61428,
    "c": 0.20033,
    "h": 283.7
  },
  "luminance": 0.21307
}

Semantic roles & 50–950 ramp

primary
#7A6BF6
secondary
#EEF3CA
accent
#E500CC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7A6BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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