#7B6BE9#7B6BE9

#7B6BE9 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.6% C 0.183 H 285.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7B6BE9
RGBrgb(123, 107, 233)
HSLhsl(248, 74%, 67%)
HSVhsv(248, 54%, 91%)
CMYKcmyk(47.2%, 54.1%, 0%, 8.6%)
CIE-LABlab(52.52, 37.87, -62.01)
CIE-LCHlch(52.52, 72.66, 301.41°)
OKLaboklab(60.61% 0.0485 -0.1769)
OKLCHoklch(60.61% 0.183 285.3)
XYZxyz(28.1297, 20.6082, 79.5706)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6BE9 #D9E96B
analogous
#6B9AE9 #7B6BE9 #BA6BE9
triadic
#7B6BE9 #E97B6B #6BE97B
tetradic
#7B6BE9 #E96B9A #D9E96B #6BE9BA
square
#7B6BE9 #E96B9A #D9E96B #6BE9BA
split-complementary
#7B6BE9 #E9BA6B #9AE96B
monochromatic
#311CBD #4B36E1 #7B6BE9 #ABA0F1 #DAD6F9

Accessibility & contrast

On white

4.10
#7B6BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7B6BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6BE9
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6BE9#FFFFFF#000000##000000
##7B6BE91.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2481ED
Deuteranopia (green-blind)
#1F7AE6
Tritanopia (blue-blind)
#5587A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7b6be9;
/* rgb */ color: rgb(123, 107, 233);
/* oklch */ color: oklch(60.6% 0.183 285.3);
Tailwind
colors: {
  custom: {
    50: '#a896f1',
    500: '#7b6be9',
    950: '#000000',
  },
}
SCSS
$custom: #7b6be9;
$custom-light: #a896f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6be9",
  "rgb": {
    "r": 123,
    "g": 107,
    "b": 233
  },
  "hsl": {
    "h": 247.619,
    "s": 74.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60613,
    "c": 0.18339,
    "h": 285.3
  },
  "luminance": 0.2061
}

Semantic roles & 50–950 ramp

primary
#7B6BE9
secondary
#E7ECC4
accent
#D60FBD
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7B6BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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