#7B6DF6#7B6DF6

#7B6DF6 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.8% C 0.198 H 283.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7B6DF6
RGBrgb(123, 109, 246)
HSLhsl(246, 88%, 70%)
HSVhsv(246, 56%, 96%)
CMYKcmyk(50%, 55.7%, 0%, 3.5%)
CIE-LABlab(53.81, 40.51, -67.18)
CIE-LCHlch(53.81, 78.45, 301.09°)
OKLaboklab(61.84% 0.0465 -0.192)
OKLCHoklch(61.84% 0.198 283.6)
XYZxyz(30.2666, 21.8005, 89.7840)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6DF6 #E8F66D
analogous
#6DA4F6 #7B6DF6 #BF6DF6
triadic
#7B6DF6 #F67B6D #6DF67B
tetradic
#7B6DF6 #F66DA4 #E8F66D #6DF6BF
square
#7B6DF6 #F66DA4 #E8F66D #6DF6BF
split-complementary
#7B6DF6 #F6BF6D #A4F66D
monochromatic
#230EDB #4733F2 #7B6DF6 #AFA7FA #E3E0FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B6DF6#FFFFFF#000000##000000
##7B6DF61.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)
#0885FB
Deuteranopia (green-blind)
#007CF3
Tritanopia (blue-blind)
#4C8CA7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b6df6;
/* rgb */ color: rgb(123, 109, 246);
/* oklch */ color: oklch(61.8% 0.198 283.6);
Tailwind
colors: {
  custom: {
    50: '#a997fa',
    500: '#7b6df6',
    950: '#000000',
  },
}
SCSS
$custom: #7b6df6;
$custom-light: #a997fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6df6",
  "rgb": {
    "r": 123,
    "g": 109,
    "b": 246
  },
  "hsl": {
    "h": 246.131,
    "s": 88.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61842,
    "c": 0.1976,
    "h": 283.6
  },
  "luminance": 0.21802
}

Semantic roles & 50–950 ramp

primary
#7B6DF6
secondary
#EFF3CC
accent
#E501CE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7B6DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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