#7B6CF5#7B6CF5

#7B6CF5 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.6% C 0.198 H 283.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7B6CF5
RGBrgb(123, 108, 245)
HSLhsl(247, 87%, 69%)
HSVhsv(247, 56%, 96%)
CMYKcmyk(49.8%, 55.9%, 0%, 3.9%)
CIE-LABlab(53.52, 40.80, -67.09)
CIE-LCHlch(53.52, 78.52, 301.30°)
OKLaboklab(61.6% 0.0476 -0.1918)
OKLCHoklch(61.6% 0.198 283.9)
XYZxyz(30.0074, 21.5271, 88.9425)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6CF5 #E6F56C
analogous
#6CA2F5 #7B6CF5 #BF6CF5
triadic
#7B6CF5 #F57B6C #6CF57B
tetradic
#7B6CF5 #F56CA2 #E6F56C #6CF5BF
square
#7B6CF5 #F56CA2 #E6F56C #6CF5BF
split-complementary
#7B6CF5 #F5BF6C #A2F56C
monochromatic
#250FD8 #4833F1 #7B6CF5 #AEA5F9 #E2DFFD

Accessibility & contrast

On white

3.96
#7B6CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7B6CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6CF5
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6CF5#FFFFFF#000000##000000
##7B6CF51.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0384FA
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#4D8BA6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7b6cf5;
/* rgb */ color: rgb(123, 108, 245);
/* oklch */ color: oklch(61.6% 0.198 283.9);
Tailwind
colors: {
  custom: {
    50: '#a996f9',
    500: '#7b6cf5',
    950: '#000000',
  },
}
SCSS
$custom: #7b6cf5;
$custom-light: #a996f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6cf5",
  "rgb": {
    "r": 123,
    "g": 108,
    "b": 245
  },
  "hsl": {
    "h": 246.569,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61604,
    "c": 0.19763,
    "h": 283.9
  },
  "luminance": 0.21529
}

Semantic roles & 50–950 ramp

primary
#7B6CF5
secondary
#EEF2CA
accent
#E402CB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7B6CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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