#7B6CEB#7B6CEB

#7B6CEB is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.9% C 0.185 H 284.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7B6CEB
RGBrgb(123, 108, 235)
HSLhsl(247, 76%, 67%)
HSVhsv(247, 54%, 92%)
CMYKcmyk(47.7%, 54%, 0%, 7.8%)
CIE-LABlab(52.88, 37.87, -62.56)
CIE-LCHlch(52.88, 73.13, 301.19°)
OKLaboklab(60.92% 0.0474 -0.1785)
OKLCHoklch(60.92% 0.185 284.9)
XYZxyz(28.5219, 20.9329, 81.1187)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6CEB #DCEB6C
analogous
#6C9CEB #7B6CEB #BB6CEB
triadic
#7B6CEB #EB7B6C #6CEB7B
tetradic
#7B6CEB #EB6C9C #DCEB6C #6CEBBB
square
#7B6CEB #EB6C9C #DCEB6C #6CEBBB
split-complementary
#7B6CEB #EBBB6C #9CEB6C
monochromatic
#2E1AC2 #4B36E4 #7B6CEB #ABA2F2 #DCD8FA

Accessibility & contrast

On white

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

On black

5.19
#7B6CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6CEB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6CEB#FFFFFF#000000##000000
##7B6CEB1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2482EF
Deuteranopia (green-blind)
#1D7AE8
Tritanopia (blue-blind)
#5488A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7b6ceb;
/* rgb */ color: rgb(123, 108, 235);
/* oklch */ color: oklch(60.9% 0.185 284.9);
Tailwind
colors: {
  custom: {
    50: '#a896f2',
    500: '#7b6ceb',
    950: '#000000',
  },
}
SCSS
$custom: #7b6ceb;
$custom-light: #a896f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6ceb",
  "rgb": {
    "r": 123,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 247.087,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60919,
    "c": 0.18466,
    "h": 284.9
  },
  "luminance": 0.20934
}

Semantic roles & 50–950 ramp

primary
#7B6CEB
secondary
#E9EDC5
accent
#D80DC0
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7B6CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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