#7B6AEB#7B6AEB

#7B6AEB is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.6% C 0.187 H 285.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7B6AEB
RGBrgb(123, 106, 235)
HSLhsl(248, 76%, 67%)
HSVhsv(248, 55%, 92%)
CMYKcmyk(47.7%, 54.9%, 0%, 7.8%)
CIE-LABlab(52.42, 39.03, -63.30)
CIE-LCHlch(52.42, 74.37, 301.66°)
OKLaboklab(60.58% 0.0496 -0.1807)
OKLCHoklch(60.58% 0.187 285.4)
XYZxyz(28.3134, 20.5159, 81.0492)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6AEB #DAEB6A
analogous
#6A9AEB #7B6AEB #BC6AEB
triadic
#7B6AEB #EB7B6A #6AEB7B
tetradic
#7B6AEB #EB6A9A #DAEB6A #6AEBBC
square
#7B6AEB #EB6A9A #DAEB6A #6AEBBC
split-complementary
#7B6AEB #EBBC6A #9AEB6A
monochromatic
#301AC1 #4B34E4 #7B6AEB #ABA0F2 #DBD6F9

Accessibility & contrast

On white

4.11
#7B6AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#7B6AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6AEB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6AEB#FFFFFF#000000##000000
##7B6AEB1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C81EF
Deuteranopia (green-blind)
#1579E8
Tritanopia (blue-blind)
#5487A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7b6aeb;
/* rgb */ color: rgb(123, 106, 235);
/* oklch */ color: oklch(60.6% 0.187 285.4);
Tailwind
colors: {
  custom: {
    50: '#a895f2',
    500: '#7b6aeb',
    950: '#000000',
  },
}
SCSS
$custom: #7b6aeb;
$custom-light: #a895f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6aeb",
  "rgb": {
    "r": 123,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 247.907,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60577,
    "c": 0.18735,
    "h": 285.4
  },
  "luminance": 0.20517
}

Semantic roles & 50–950 ramp

primary
#7B6AEB
secondary
#E8EDC4
accent
#D90DBE
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7B6AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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