#7B6AED#7B6AED

#7B6AED is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.7% C 0.190 H 285.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7B6AED
RGBrgb(123, 106, 237)
HSLhsl(248, 78%, 67%)
HSVhsv(248, 55%, 93%)
CMYKcmyk(48.1%, 55.3%, 0%, 7.1%)
CIE-LABlab(52.54, 39.62, -64.21)
CIE-LCHlch(52.54, 75.45, 301.67°)
OKLaboklab(60.71% 0.0496 -0.1833)
OKLCHoklch(60.71% 0.19 285.1)
XYZxyz(28.6040, 20.6321, 82.5796)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6AED #DCED6A
analogous
#6A9BED #7B6AED #BC6AED
triadic
#7B6AED #ED7B6A #6AED7B
tetradic
#7B6AED #ED6A9B #DCED6A #6AEDBC
square
#7B6AED #ED6A9B #DCED6A #6AEDBC
split-complementary
#7B6AED #EDBC6A #9BED6A
monochromatic
#2E18C5 #4B33E6 #7B6AED #ABA1F4 #DCD7FA

Accessibility & contrast

On white

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

On black

5.13
#7B6AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6AED
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6AED#FFFFFF#000000##000000
##7B6AED1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1781F1
Deuteranopia (green-blind)
#0C79EA
Tritanopia (blue-blind)
#5387A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7b6aed;
/* rgb */ color: rgb(123, 106, 237);
/* oklch */ color: oklch(60.7% 0.190 285.1);
Tailwind
colors: {
  custom: {
    50: '#a895f4',
    500: '#7b6aed',
    950: '#000000',
  },
}
SCSS
$custom: #7b6aed;
$custom-light: #a895f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6aed",
  "rgb": {
    "r": 123,
    "g": 106,
    "b": 237
  },
  "hsl": {
    "h": 247.786,
    "s": 78.443,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60714,
    "c": 0.18994,
    "h": 285.1
  },
  "luminance": 0.20633
}

Semantic roles & 50–950 ramp

primary
#7B6AED
secondary
#E9EEC5
accent
#DB0BC0
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7B6AED

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

Preview Lab → · Contrast checker → · Palette generator →

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