#7B6BED#7B6BED

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

Color values

HEX#7B6BED
RGBrgb(123, 107, 237)
HSLhsl(247, 78%, 67%)
HSVhsv(247, 55%, 93%)
CMYKcmyk(48.1%, 54.9%, 0%, 7.1%)
CIE-LABlab(52.77, 39.04, -63.84)
CIE-LCHlch(52.77, 74.83, 301.44°)
OKLaboklab(60.88% 0.0486 -0.1822)
OKLCHoklch(60.88% 0.189 284.9)
XYZxyz(28.7076, 20.8394, 82.6141)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6BED #DDED6B
analogous
#6B9CED #7B6BED #BC6BED
triadic
#7B6BED #ED7B6B #6BED7B
tetradic
#7B6BED #ED6B9C #DDED6B #6BEDBC
square
#7B6BED #ED6B9C #DDED6B #6BEDBC
split-complementary
#7B6BED #EDBC6B #9CED6B
monochromatic
#2D18C6 #4A34E6 #7B6BED #ACA2F4 #DCD8FA

Accessibility & contrast

On white

4.06
#7B6BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7B6BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6BED
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6BED#FFFFFF#000000##000000
##7B6BED1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C82F1
Deuteranopia (green-blind)
#127AEA
Tritanopia (blue-blind)
#5388A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7b6bed;
/* rgb */ color: rgb(123, 107, 237);
/* oklch */ color: oklch(60.9% 0.189 284.9);
Tailwind
colors: {
  custom: {
    50: '#a896f4',
    500: '#7b6bed',
    950: '#000000',
  },
}
SCSS
$custom: #7b6bed;
$custom-light: #a896f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6bed",
  "rgb": {
    "r": 123,
    "g": 107,
    "b": 237
  },
  "hsl": {
    "h": 247.385,
    "s": 78.313,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60884,
    "c": 0.18861,
    "h": 284.9
  },
  "luminance": 0.20841
}

Semantic roles & 50–950 ramp

primary
#7B6BED
secondary
#E9EEC6
accent
#DB0BC1
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7B6BED

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

Preview Lab → · Contrast checker → · Palette generator →

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