#7B6BF7#7B6BF7

#7B6BF7 is a mid, highly saturated blue. Relative luminance 0.214; OKLCH L 61.6% C 0.201 H 284.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7B6BF7
RGBrgb(123, 107, 247)
HSLhsl(247, 90%, 69%)
HSVhsv(247, 57%, 97%)
CMYKcmyk(50.2%, 56.7%, 0%, 3.1%)
CIE-LABlab(53.43, 41.96, -68.36)
CIE-LCHlch(53.43, 80.21, 301.55°)
OKLaboklab(61.58% 0.0486 -0.1955)
OKLCHoklch(61.58% 0.201 284)
XYZxyz(30.2095, 21.4402, 90.5242)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6BF7 #E7F76B
analogous
#6BA1F7 #7B6BF7 #C16BF7
triadic
#7B6BF7 #F77B6B #6BF77B
tetradic
#7B6BF7 #F76BA1 #E7F76B #6BF7C1
square
#7B6BF7 #F76BA1 #E7F76B #6BF7C1
split-complementary
#7B6BF7 #F7C16B #A1F76B
monochromatic
#240CDC #4731F4 #7B6BF7 #AFA5FA #E3DFFD

Accessibility & contrast

On white

3.97
#7B6BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#7B6BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6BF7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6BF7#FFFFFF#000000##000000
##7B6BF71.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FC
Deuteranopia (green-blind)
#007BF4
Tritanopia (blue-blind)
#4B8BA7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7b6bf7;
/* rgb */ color: rgb(123, 107, 247);
/* oklch */ color: oklch(61.6% 0.201 284.0);
Tailwind
colors: {
  custom: {
    50: '#aa96fb',
    500: '#7b6bf7',
    950: '#000000',
  },
}
SCSS
$custom: #7b6bf7;
$custom-light: #aa96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6bf7",
  "rgb": {
    "r": 123,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 246.857,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61577,
    "c": 0.20149,
    "h": 284
  },
  "luminance": 0.21442
}

Semantic roles & 50–950 ramp

primary
#7B6BF7
secondary
#EEF3CB
accent
#E600CB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7B6BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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