#7B6BF0#7B6BF0

#7B6BF0 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 61.1% C 0.192 H 284.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7B6BF0
RGBrgb(123, 107, 240)
HSLhsl(247, 82%, 68%)
HSVhsv(247, 55%, 94%)
CMYKcmyk(48.7%, 55.4%, 0%, 5.9%)
CIE-LABlab(52.97, 39.91, -65.20)
CIE-LCHlch(52.97, 76.45, 301.47°)
OKLaboklab(61.09% 0.0486 -0.1863)
OKLCHoklch(61.09% 0.192 284.6)
XYZxyz(29.1496, 21.0162, 84.9418)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6BF0 #E0F06B
analogous
#6B9DF0 #7B6BF0 #BD6BF0
triadic
#7B6BF0 #F07B6B #6BF07B
tetradic
#7B6BF0 #F06B9D #E0F06B #6BF0BD
square
#7B6BF0 #F06B9D #E0F06B #6BF0BD
split-complementary
#7B6BF0 #F0BD6B #9DF06B
monochromatic
#2B15CC #4933EA #7B6BF0 #ADA3F6 #DEDAFB

Accessibility & contrast

On white

4.04
#7B6BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#7B6BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6BF0
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6BF0#FFFFFF#000000##000000
##7B6BF01.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1382F4
Deuteranopia (green-blind)
#027AED
Tritanopia (blue-blind)
#5189A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7b6bf0;
/* rgb */ color: rgb(123, 107, 240);
/* oklch */ color: oklch(61.1% 0.192 284.6);
Tailwind
colors: {
  custom: {
    50: '#a996f6',
    500: '#7b6bf0',
    950: '#000000',
  },
}
SCSS
$custom: #7b6bf0;
$custom-light: #a996f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6bf0",
  "rgb": {
    "r": 123,
    "g": 107,
    "b": 240
  },
  "hsl": {
    "h": 247.218,
    "s": 81.595,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61089,
    "c": 0.19249,
    "h": 284.6
  },
  "luminance": 0.21018
}

Semantic roles & 50–950 ramp

primary
#7B6BF0
secondary
#EBF0C7
accent
#DE08C4
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7B6BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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