#7B6DF7#7B6DF7

#7B6DF7 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.9% C 0.199 H 283.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7B6DF7
RGBrgb(123, 109, 247)
HSLhsl(246, 90%, 70%)
HSVhsv(246, 56%, 97%)
CMYKcmyk(50.2%, 55.9%, 0%, 3.1%)
CIE-LABlab(53.88, 40.81, -67.63)
CIE-LCHlch(53.88, 78.98, 301.11°)
OKLaboklab(61.91% 0.0465 -0.1934)
OKLCHoklch(61.91% 0.199 283.5)
XYZxyz(30.4205, 21.8620, 90.5945)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6DF7 #E9F76D
analogous
#6DA4F7 #7B6DF7 #C06DF7
triadic
#7B6DF7 #F77B6D #6DF77B
tetradic
#7B6DF7 #F76DA4 #E9F76D #6DF7C0
square
#7B6DF7 #F76DA4 #E9F76D #6DF7C0
split-complementary
#7B6DF7 #F7C06D #A4F76D
monochromatic
#210CDD #4733F4 #7B6DF7 #AFA7FA #E4E1FD

Accessibility & contrast

On white

3.91
#7B6DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7B6DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6DF7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6DF7#FFFFFF#000000##000000
##7B6DF71.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0285FC
Deuteranopia (green-blind)
#007CF4
Tritanopia (blue-blind)
#4B8CA8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b6df7;
/* rgb */ color: rgb(123, 109, 247);
/* oklch */ color: oklch(61.9% 0.199 283.5);
Tailwind
colors: {
  custom: {
    50: '#aa97fb',
    500: '#7b6df7',
    950: '#000000',
  },
}
SCSS
$custom: #7b6df7;
$custom-light: #aa97fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6df7",
  "rgb": {
    "r": 123,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 246.087,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61911,
    "c": 0.1989,
    "h": 283.5
  },
  "luminance": 0.21864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B6DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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