#7B6DED#7B6DED

#7B6DED is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.2% C 0.186 H 284.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7B6DED
RGBrgb(123, 109, 237)
HSLhsl(247, 78%, 68%)
HSVhsv(247, 54%, 93%)
CMYKcmyk(48.1%, 54%, 0%, 7.1%)
CIE-LABlab(53.23, 37.87, -63.10)
CIE-LCHlch(53.23, 73.59, 300.97°)
OKLaboklab(61.23% 0.0464 -0.1801)
OKLCHoklch(61.23% 0.186 284.4)
XYZxyz(28.9185, 21.2613, 82.6844)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6DED #DFED6D
analogous
#6D9FED #7B6DED #BB6DED
triadic
#7B6DED #ED7B6D #6DED7B
tetradic
#7B6DED #ED6D9F #DFED6D #6DEDBB
square
#7B6DED #ED6D9F #DFED6D #6DEDBB
split-complementary
#7B6DED #EDBB6D #9FED6D
monochromatic
#2C19C7 #4A37E6 #7B6DED #ACA3F4 #DEDAFA

Accessibility & contrast

On white

4.00
#7B6DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7B6DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6DED
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6DED#FFFFFF#000000##000000
##7B6DED1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2483F1
Deuteranopia (green-blind)
#1C7BEA
Tritanopia (blue-blind)
#5389A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7b6ded;
/* rgb */ color: rgb(123, 109, 237);
/* oklch */ color: oklch(61.2% 0.186 284.4);
Tailwind
colors: {
  custom: {
    50: '#a897f4',
    500: '#7b6ded',
    950: '#000000',
  },
}
SCSS
$custom: #7b6ded;
$custom-light: #a897f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6ded",
  "rgb": {
    "r": 123,
    "g": 109,
    "b": 237
  },
  "hsl": {
    "h": 246.563,
    "s": 78.049,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61226,
    "c": 0.18593,
    "h": 284.4
  },
  "luminance": 0.21263
}

Semantic roles & 50–950 ramp

primary
#7B6DED
secondary
#EAEFC7
accent
#DA0BC4
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7B6DED

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

Preview Lab → · Contrast checker → · Palette generator →

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