#7B6CF3#7B6CF3

#7B6CF3 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.5% C 0.195 H 284.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7B6CF3
RGBrgb(123, 108, 243)
HSLhsl(247, 85%, 69%)
HSVhsv(247, 56%, 95%)
CMYKcmyk(49.4%, 55.6%, 0%, 4.7%)
CIE-LABlab(53.39, 40.21, -66.19)
CIE-LCHlch(53.39, 77.45, 301.28°)
OKLaboklab(61.47% 0.0476 -0.1892)
OKLCHoklch(61.47% 0.195 284.1)
XYZxyz(29.7038, 21.4056, 87.3432)
Luminance0.2141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6CF3 #E4F36C
analogous
#6CA1F3 #7B6CF3 #BF6CF3
triadic
#7B6CF3 #F37B6C #6CF37B
tetradic
#7B6CF3 #F36CA1 #E4F36C #6CF3BF
square
#7B6CF3 #F36CA1 #E4F36C #6CF3BF
split-complementary
#7B6CF3 #F3BF6C #A1F36C
monochromatic
#2711D3 #4833EE #7B6CF3 #AEA5F8 #E1DDFC

Accessibility & contrast

On white

3.98
#7B6CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#7B6CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6CF3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6CF3#FFFFFF#000000##000000
##7B6CF31.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E84F8
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#4E8BA5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7b6cf3;
/* rgb */ color: rgb(123, 108, 243);
/* oklch */ color: oklch(61.5% 0.195 284.1);
Tailwind
colors: {
  custom: {
    50: '#a996f8',
    500: '#7b6cf3',
    950: '#000000',
  },
}
SCSS
$custom: #7b6cf3;
$custom-light: #a996f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6cf3",
  "rgb": {
    "r": 123,
    "g": 108,
    "b": 243
  },
  "hsl": {
    "h": 246.667,
    "s": 84.906,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61465,
    "c": 0.19504,
    "h": 284.1
  },
  "luminance": 0.21407
}

Semantic roles & 50–950 ramp

primary
#7B6CF3
secondary
#EDF1C9
accent
#E104C9
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7B6CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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