#7B6CF9#7B6CF9

#7B6CF9 is a mid, highly saturated blue. Relative luminance 0.218; OKLCH L 61.9% C 0.203 H 283.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7B6CF9
RGBrgb(123, 108, 249)
HSLhsl(246, 92%, 70%)
HSVhsv(246, 57%, 98%)
CMYKcmyk(50.6%, 56.6%, 0%, 2.4%)
CIE-LABlab(53.79, 41.98, -68.89)
CIE-LCHlch(53.79, 80.67, 301.36°)
OKLaboklab(61.88% 0.0476 -0.1971)
OKLCHoklch(61.88% 0.203 283.6)
XYZxyz(30.6247, 21.7740, 92.1933)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6CF9 #EAF96C
analogous
#6CA3F9 #7B6CF9 #C26CF9
triadic
#7B6CF9 #F97B6C #6CF97B
tetradic
#7B6CF9 #F96CA3 #EAF96C #6CF9C2
square
#7B6CF9 #F96CA3 #EAF96C #6CF9C2
split-complementary
#7B6CF9 #F9C26C #A3F96C
monochromatic
#2009E1 #4631F7 #7B6CF9 #B0A7FB #E5E2FE

Accessibility & contrast

On white

3.92
#7B6CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7B6CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6CF9
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6CF9#FFFFFF#000000##000000
##7B6CF91.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FE
Deuteranopia (green-blind)
#007CF6
Tritanopia (blue-blind)
#4A8CA8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b6cf9;
/* rgb */ color: rgb(123, 108, 249);
/* oklch */ color: oklch(61.9% 0.203 283.6);
Tailwind
colors: {
  custom: {
    50: '#aa96fc',
    500: '#7b6cf9',
    950: '#000000',
  },
}
SCSS
$custom: #7b6cf9;
$custom-light: #aa96fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6cf9",
  "rgb": {
    "r": 123,
    "g": 108,
    "b": 249
  },
  "hsl": {
    "h": 246.383,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.61884,
    "c": 0.20275,
    "h": 283.6
  },
  "luminance": 0.21776
}

Semantic roles & 50–950 ramp

primary
#7B6CF9
secondary
#F0F4CD
accent
#E600CD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7B6CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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