#7B6BF5#7B6BF5

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

Color values

HEX#7B6BF5
RGBrgb(123, 107, 245)
HSLhsl(247, 87%, 69%)
HSVhsv(247, 56%, 96%)
CMYKcmyk(49.8%, 56.3%, 0%, 3.9%)
CIE-LABlab(53.30, 41.38, -67.46)
CIE-LCHlch(53.30, 79.14, 301.52°)
OKLaboklab(61.44% 0.0486 -0.1929)
OKLCHoklch(61.44% 0.199 284.1)
XYZxyz(29.9026, 21.3174, 88.9075)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6BF5 #E5F56B
analogous
#6BA0F5 #7B6BF5 #C06BF5
triadic
#7B6BF5 #F57B6B #6BF57B
tetradic
#7B6BF5 #F56BA0 #E5F56B #6BF5C0
square
#7B6BF5 #F56BA0 #E5F56B #6BF5C0
split-complementary
#7B6BF5 #F5C06B #A0F56B
monochromatic
#260FD7 #4832F1 #7B6BF5 #AEA4F9 #E1DEFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B6BF5#FFFFFF#000000##000000
##7B6BF51.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)
#0084FA
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#4D8AA6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7b6bf5;
/* rgb */ color: rgb(123, 107, 245);
/* oklch */ color: oklch(61.4% 0.199 284.1);
Tailwind
colors: {
  custom: {
    50: '#a996f9',
    500: '#7b6bf5',
    950: '#000000',
  },
}
SCSS
$custom: #7b6bf5;
$custom-light: #a996f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6bf5",
  "rgb": {
    "r": 123,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 246.957,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61436,
    "c": 0.19893,
    "h": 284.1
  },
  "luminance": 0.21319
}

Semantic roles & 50–950 ramp

primary
#7B6BF5
secondary
#EDF2CA
accent
#E402CA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7B6BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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