#7B6BF6#7B6BF6

#7B6BF6 is a mid, highly saturated blue. Relative luminance 0.214; OKLCH L 61.5% C 0.200 H 284.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7B6BF6
RGBrgb(123, 107, 246)
HSLhsl(247, 89%, 69%)
HSVhsv(247, 57%, 96%)
CMYKcmyk(50%, 56.5%, 0%, 3.5%)
CIE-LABlab(53.36, 41.67, -67.91)
CIE-LCHlch(53.36, 79.68, 301.53°)
OKLaboklab(61.51% 0.0486 -0.1942)
OKLCHoklch(61.51% 0.2 284.1)
XYZxyz(30.0556, 21.3786, 89.7137)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6BF6 #E6F66B
analogous
#6BA1F6 #7B6BF6 #C06BF6
triadic
#7B6BF6 #F67B6B #6BF67B
tetradic
#7B6BF6 #F66BA1 #E6F66B #6BF6C0
square
#7B6BF6 #F66BA1 #E6F66B #6BF6C0
split-complementary
#7B6BF6 #F6C06B #A1F66B
monochromatic
#250DD9 #4831F2 #7B6BF6 #AEA5FA #E2DEFD

Accessibility & contrast

On white

3.98
#7B6BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#7B6BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6BF6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6BF6#FFFFFF#000000##000000
##7B6BF61.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b6bf6;
/* rgb */ color: rgb(123, 107, 246);
/* oklch */ color: oklch(61.5% 0.200 284.1);
Tailwind
colors: {
  custom: {
    50: '#a996fa',
    500: '#7b6bf6',
    950: '#000000',
  },
}
SCSS
$custom: #7b6bf6;
$custom-light: #a996fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6bf6",
  "rgb": {
    "r": 123,
    "g": 107,
    "b": 246
  },
  "hsl": {
    "h": 246.906,
    "s": 88.535,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61506,
    "c": 0.20021,
    "h": 284.1
  },
  "luminance": 0.2138
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B6BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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