#7B6BEE#7B6BEE

#7B6BEE is a mid, vivid blue. Relative luminance 0.209; OKLCH L 61.0% C 0.190 H 284.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7B6BEE
RGBrgb(123, 107, 238)
HSLhsl(247, 79%, 68%)
HSVhsv(247, 55%, 93%)
CMYKcmyk(48.3%, 55%, 0%, 6.7%)
CIE-LABlab(52.84, 39.33, -64.30)
CIE-LCHlch(52.84, 75.37, 301.45°)
OKLaboklab(60.95% 0.0486 -0.1836)
OKLCHoklch(60.95% 0.19 284.8)
XYZxyz(28.8541, 20.8980, 83.3857)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6BEE #DEEE6B
analogous
#6B9DEE #7B6BEE #BC6BEE
triadic
#7B6BEE #EE7B6B #6BEE7B
tetradic
#7B6BEE #EE6B9D #DEEE6B #6BEEBC
square
#7B6BEE #EE6B9D #DEEE6B #6BEEBC
split-complementary
#7B6BEE #EEBC6B #9DEE6B
monochromatic
#2D17C8 #4A34E8 #7B6BEE #ACA2F4 #DDD9FB

Accessibility & contrast

On white

4.05
#7B6BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#7B6BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6BEE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6BEE#FFFFFF#000000##000000
##7B6BEE1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1982F2
Deuteranopia (green-blind)
#0E7AEB
Tritanopia (blue-blind)
#5288A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7b6bee;
/* rgb */ color: rgb(123, 107, 238);
/* oklch */ color: oklch(61.0% 0.190 284.8);
Tailwind
colors: {
  custom: {
    50: '#a996f4',
    500: '#7b6bee',
    950: '#000000',
  },
}
SCSS
$custom: #7b6bee;
$custom-light: #a996f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6bee",
  "rgb": {
    "r": 123,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 247.328,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60952,
    "c": 0.1899,
    "h": 284.8
  },
  "luminance": 0.20899
}

Semantic roles & 50–950 ramp

primary
#7B6BEE
secondary
#EAEFC6
accent
#DC0AC2
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7B6BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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