#7B6CED#7B6CED

#7B6CED is a mid, vivid blue. Relative luminance 0.211; OKLCH L 61.1% C 0.187 H 284.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7B6CED
RGBrgb(123, 108, 237)
HSLhsl(247, 78%, 68%)
HSVhsv(247, 54%, 93%)
CMYKcmyk(48.1%, 54.4%, 0%, 7.1%)
CIE-LABlab(53.00, 38.45, -63.47)
CIE-LCHlch(53.00, 74.21, 301.21°)
OKLaboklab(61.05% 0.0475 -0.1812)
OKLCHoklch(61.05% 0.187 284.7)
XYZxyz(28.8125, 21.0491, 82.6491)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6CED #DEED6C
analogous
#6C9DED #7B6CED #BC6CED
triadic
#7B6CED #ED7B6C #6CED7B
tetradic
#7B6CED #ED6C9D #DEED6C #6CEDBC
square
#7B6CED #ED6C9D #DEED6C #6CEDBC
split-complementary
#7B6CED #EDBC6C #9DED6C
monochromatic
#2D18C6 #4A35E6 #7B6CED #ACA3F4 #DDD9FA

Accessibility & contrast

On white

4.03
#7B6CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#7B6CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6CED
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6CED#FFFFFF#000000##000000
##7B6CED1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2082F1
Deuteranopia (green-blind)
#177BEA
Tritanopia (blue-blind)
#5389A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7b6ced;
/* rgb */ color: rgb(123, 108, 237);
/* oklch */ color: oklch(61.1% 0.187 284.7);
Tailwind
colors: {
  custom: {
    50: '#a896f4',
    500: '#7b6ced',
    950: '#000000',
  },
}
SCSS
$custom: #7b6ced;
$custom-light: #a896f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6ced",
  "rgb": {
    "r": 123,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 246.977,
    "s": 78.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61054,
    "c": 0.18727,
    "h": 284.7
  },
  "luminance": 0.21051
}

Semantic roles & 50–950 ramp

primary
#7B6CED
secondary
#EAEEC6
accent
#DA0BC2
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7B6CED

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

Preview Lab → · Contrast checker → · Palette generator →

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