#7B6DCF#7B6DCF

#7B6DCF is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.3% C 0.146 H 287.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7B6DCF
RGBrgb(123, 109, 207)
HSLhsl(249, 51%, 62%)
HSVhsv(249, 47%, 81%)
CMYKcmyk(40.6%, 47.3%, 0%, 18.8%)
CIE-LABlab(51.44, 29.22, -49.05)
CIE-LCHlch(51.44, 57.09, 300.78°)
OKLaboklab(59.31% 0.0442 -0.1388)
OKLCHoklch(59.31% 0.146 287.7)
XYZxyz(24.8964, 19.6524, 61.5009)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6DCF #C1CF6D
analogous
#6D90CF #7B6DCF #AC6DCF
triadic
#7B6DCF #CF7B6D #6DCF7B
tetradic
#7B6DCF #CF6D90 #C1CF6D #6DCFAC
square
#7B6DCF #CF6D90 #C1CF6D #6DCFAC
split-complementary
#7B6DCF #CFAC6D #90CF6D
monochromatic
#3E3092 #513FC0 #7B6DCF #A59BDE #CEC9ED

Accessibility & contrast

On white

4.26
#7B6DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7B6DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6DCF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6DCF#FFFFFF#000000##000000
##7B6DCF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#477DD3
Deuteranopia (green-blind)
#4778CD
Tritanopia (blue-blind)
#638194
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7b6dcf;
/* rgb */ color: rgb(123, 109, 207);
/* oklch */ color: oklch(59.3% 0.146 287.7);
Tailwind
colors: {
  custom: {
    50: '#a597de',
    500: '#7b6dcf',
    950: '#000000',
  },
}
SCSS
$custom: #7b6dcf;
$custom-light: #a597de;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6dcf",
  "rgb": {
    "r": 123,
    "g": 109,
    "b": 207
  },
  "hsl": {
    "h": 248.571,
    "s": 50.515,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59309,
    "c": 0.14566,
    "h": 287.7
  },
  "luminance": 0.19653
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B6DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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