#7B6BF8#7B6BF8

#7B6BF8 is a mid, highly saturated blue. Relative luminance 0.215; OKLCH L 61.6% C 0.203 H 283.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7B6BF8
RGBrgb(123, 107, 248)
HSLhsl(247, 91%, 70%)
HSVhsv(247, 57%, 97%)
CMYKcmyk(50.4%, 56.9%, 0%, 2.7%)
CIE-LABlab(53.49, 42.26, -68.81)
CIE-LCHlch(53.49, 80.75, 301.56°)
OKLaboklab(61.65% 0.0486 -0.1968)
OKLCHoklch(61.65% 0.203 283.9)
XYZxyz(30.3643, 21.5020, 91.3391)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6BF8 #E8F86B
analogous
#6BA1F8 #7B6BF8 #C26BF8
triadic
#7B6BF8 #F87B6B #6BF87B
tetradic
#7B6BF8 #F86BA1 #E8F86B #6BF8C2
square
#7B6BF8 #F86BA1 #E8F86B #6BF8C2
split-complementary
#7B6BF8 #F8C26B #A1F86B
monochromatic
#230BDE #4731F5 #7B6BF8 #AFA5FB #E3E0FE

Accessibility & contrast

On white

3.96
#7B6BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#7B6BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6BF8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6BF8#FFFFFF#000000##000000
##7B6BF81.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b6bf8;
/* rgb */ color: rgb(123, 107, 248);
/* oklch */ color: oklch(61.6% 0.203 283.9);
Tailwind
colors: {
  custom: {
    50: '#aa96fb',
    500: '#7b6bf8',
    950: '#000000',
  },
}
SCSS
$custom: #7b6bf8;
$custom-light: #aa96fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6bf8",
  "rgb": {
    "r": 123,
    "g": 107,
    "b": 248
  },
  "hsl": {
    "h": 246.809,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61647,
    "c": 0.20276,
    "h": 283.9
  },
  "luminance": 0.21504
}

Semantic roles & 50–950 ramp

primary
#7B6BF8
secondary
#EFF4CB
accent
#E600CB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7B6BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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