#7B6BEC#7B6BEC

#7B6BEC is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.8% C 0.187 H 285.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7B6BEC
RGBrgb(123, 107, 236)
HSLhsl(247, 77%, 67%)
HSVhsv(247, 55%, 93%)
CMYKcmyk(47.9%, 54.7%, 0%, 7.5%)
CIE-LABlab(52.71, 38.74, -63.38)
CIE-LCHlch(52.71, 74.29, 301.44°)
OKLaboklab(60.82% 0.0485 -0.1809)
OKLCHoklch(60.82% 0.187 285)
XYZxyz(28.5619, 20.7811, 81.8468)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6BEC #DCEC6B
analogous
#6B9BEC #7B6BEC #BC6BEC
triadic
#7B6BEC #EC7B6B #6BEC7B
tetradic
#7B6BEC #EC6B9B #DCEC6B #6BECBC
square
#7B6BEC #EC6B9B #DCEC6B #6BECBC
split-complementary
#7B6BEC #ECBC6B #9BEC6B
monochromatic
#2E19C4 #4B35E5 #7B6BEC #ABA1F3 #DCD7FA

Accessibility & contrast

On white

4.07
#7B6BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#7B6BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6BEC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6BEC#FFFFFF#000000##000000
##7B6BEC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E82F0
Deuteranopia (green-blind)
#167AE9
Tritanopia (blue-blind)
#5388A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7b6bec;
/* rgb */ color: rgb(123, 107, 236);
/* oklch */ color: oklch(60.8% 0.187 285.0);
Tailwind
colors: {
  custom: {
    50: '#a896f3',
    500: '#7b6bec',
    950: '#000000',
  },
}
SCSS
$custom: #7b6bec;
$custom-light: #a896f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6bec",
  "rgb": {
    "r": 123,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 247.442,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60816,
    "c": 0.1873,
    "h": 285
  },
  "luminance": 0.20782
}

Semantic roles & 50–950 ramp

primary
#7B6BEC
secondary
#E9EEC5
accent
#D90CC0
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7B6BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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