#7B6FF6#7B6FF6

#7B6FF6 is a light, vivid blue. Relative luminance 0.222; OKLCH L 62.2% C 0.195 H 283.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7B6FF6
RGBrgb(123, 111, 246)
HSLhsl(245, 88%, 70%)
HSVhsv(245, 55%, 96%)
CMYKcmyk(50%, 54.9%, 0%, 3.5%)
CIE-LABlab(54.27, 39.35, -66.44)
CIE-LCHlch(54.27, 77.22, 300.64°)
OKLaboklab(62.18% 0.0444 -0.1899)
OKLCHoklch(62.18% 0.195 283.2)
XYZxyz(30.4823, 22.2320, 89.8559)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6FF6 #EAF66F
analogous
#6FA7F6 #7B6FF6 #BE6FF6
triadic
#7B6FF6 #F67B6F #6FF67B
tetradic
#7B6FF6 #F66FA7 #EAF66F #6FF6BE
square
#7B6FF6 #F66FA7 #EAF66F #6FF6BE
split-complementary
#7B6FF6 #F6BE6F #A7F66F
monochromatic
#200EDD #4635F2 #7B6FF6 #B0A9FA #E5E2FD

Accessibility & contrast

On white

3.86
#7B6FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#7B6FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6FF6
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6FF6#FFFFFF#000000##000000
##7B6FF61.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1786FB
Deuteranopia (green-blind)
#007DF3
Tritanopia (blue-blind)
#4C8EA8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7b6ff6;
/* rgb */ color: rgb(123, 111, 246);
/* oklch */ color: oklch(62.2% 0.195 283.2);
Tailwind
colors: {
  custom: {
    50: '#a998fa',
    500: '#7b6ff6',
    950: '#000000',
  },
}
SCSS
$custom: #7b6ff6;
$custom-light: #a998fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6ff6",
  "rgb": {
    "r": 123,
    "g": 111,
    "b": 246
  },
  "hsl": {
    "h": 245.333,
    "s": 88.235,
    "l": 70
  },
  "oklch": {
    "l": 0.62181,
    "c": 0.19499,
    "h": 283.2
  },
  "luminance": 0.22234
}

Semantic roles & 50–950 ramp

primary
#7B6FF6
secondary
#F0F3CE
accent
#E501D1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7B6FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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