#7A6BF5#7A6BF5

#7A6BF5 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 61.4% C 0.199 H 283.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7A6BF5
RGBrgb(122, 107, 245)
HSLhsl(247, 87%, 69%)
HSVhsv(247, 56%, 96%)
CMYKcmyk(50.2%, 56.3%, 0%, 3.9%)
CIE-LABlab(53.22, 41.18, -67.59)
CIE-LCHlch(53.22, 79.15, 301.35°)
OKLaboklab(61.36% 0.0474 -0.1933)
OKLCHoklch(61.36% 0.199 283.8)
XYZxyz(29.7602, 21.2440, 88.9009)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6BF5 #E6F56B
analogous
#6BA1F5 #7A6BF5 #BF6BF5
triadic
#7A6BF5 #F57A6B #6BF57A
tetradic
#7A6BF5 #F56BA1 #E6F56B #6BF5BF
square
#7A6BF5 #F56BA1 #E6F56B #6BF5BF
split-complementary
#7A6BF5 #F5BF6B #A1F56B
monochromatic
#240FD7 #4632F1 #7A6BF5 #AEA4F9 #E1DEFD

Accessibility & contrast

On white

4.00
#7A6BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7A6BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6BF5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6BF5#FFFFFF#000000##000000
##7A6BF51.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FA
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#4B8BA6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a6bf5;
/* rgb */ color: rgb(122, 107, 245);
/* oklch */ color: oklch(61.4% 0.199 283.8);
Tailwind
colors: {
  custom: {
    50: '#a996f9',
    500: '#7a6bf5',
    950: '#000000',
  },
}
SCSS
$custom: #7a6bf5;
$custom-light: #a996f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6bf5",
  "rgb": {
    "r": 122,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 246.522,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61358,
    "c": 0.19905,
    "h": 283.8
  },
  "luminance": 0.21246
}

Semantic roles & 50–950 ramp

primary
#7A6BF5
secondary
#EEF2CA
accent
#E402CB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7A6BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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