#7B6ECE#7B6ECE

#7B6ECE is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.4% C 0.143 H 287.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7B6ECE
RGBrgb(123, 110, 206)
HSLhsl(248, 49%, 62%)
HSVhsv(248, 47%, 81%)
CMYKcmyk(40.3%, 46.6%, 0%, 19.2%)
CIE-LABlab(51.63, 28.34, -48.17)
CIE-LCHlch(51.63, 55.89, 300.47°)
OKLaboklab(59.43% 0.0428 -0.1362)
OKLCHoklch(59.43% 0.143 287.4)
XYZxyz(24.8818, 19.8182, 60.8949)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6ECE #C1CE6E
analogous
#6E91CE #7B6ECE #AB6ECE
triadic
#7B6ECE #CE7B6E #6ECE7B
tetradic
#7B6ECE #CE6E91 #C1CE6E #6ECEAB
square
#7B6ECE #CE6E91 #C1CE6E #6ECEAB
split-complementary
#7B6ECE #CEAB6E #91CE6E
monochromatic
#3E3191 #5140BE #7B6ECE #A59CDD #CEC9ED

Accessibility & contrast

On white

4.23
#7B6ECE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#7B6ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6ECE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6ECE#FFFFFF#000000##000000
##7B6ECE1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD1
Deuteranopia (green-blind)
#4979CC
Tritanopia (blue-blind)
#648194
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7b6ece;
/* rgb */ color: rgb(123, 110, 206);
/* oklch */ color: oklch(59.4% 0.143 287.4);
Tailwind
colors: {
  custom: {
    50: '#a597dd',
    500: '#7b6ece',
    950: '#000000',
  },
}
SCSS
$custom: #7b6ece;
$custom-light: #a597dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6ece",
  "rgb": {
    "r": 123,
    "g": 110,
    "b": 206
  },
  "hsl": {
    "h": 248.125,
    "s": 49.485,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59433,
    "c": 0.1428,
    "h": 287.4
  },
  "luminance": 0.19819
}

Semantic roles & 50–950 ramp

primary
#7B6ECE
secondary
#D9DEBA
accent
#BD29A9
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7B6ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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