#7B6FF5#7B6FF5

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

Color values

HEX#7B6FF5
RGBrgb(123, 111, 245)
HSLhsl(245, 87%, 70%)
HSVhsv(245, 55%, 96%)
CMYKcmyk(49.8%, 54.7%, 0%, 3.9%)
CIE-LABlab(54.21, 39.05, -65.99)
CIE-LCHlch(54.21, 76.68, 300.62°)
OKLaboklab(62.11% 0.0444 -0.1885)
OKLCHoklch(62.11% 0.194 283.2)
XYZxyz(30.3293, 22.1708, 89.0498)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6FF5 #E9F56F
analogous
#6FA6F5 #7B6FF5 #BE6FF5
triadic
#7B6FF5 #F57B6F #6FF57B
tetradic
#7B6FF5 #F56FA6 #E9F56F #6FF5BE
square
#7B6FF5 #F56FA6 #E9F56F #6FF5BE
split-complementary
#7B6FF5 #F5BE6F #A6F56F
monochromatic
#210FDA #4736F1 #7B6FF5 #AFA8F9 #E4E1FD

Accessibility & contrast

On white

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

On black

5.43
#7B6FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6FF5
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6FF5#FFFFFF#000000##000000
##7B6FF51.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A86FA
Deuteranopia (green-blind)
#057DF2
Tritanopia (blue-blind)
#4C8DA7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7b6ff5;
/* rgb */ color: rgb(123, 111, 245);
/* oklch */ color: oklch(62.1% 0.194 283.2);
Tailwind
colors: {
  custom: {
    50: '#a998f9',
    500: '#7b6ff5',
    950: '#000000',
  },
}
SCSS
$custom: #7b6ff5;
$custom-light: #a998f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6ff5",
  "rgb": {
    "r": 123,
    "g": 111,
    "b": 245
  },
  "hsl": {
    "h": 245.373,
    "s": 87.013,
    "l": 69.804
  },
  "oklch": {
    "l": 0.62113,
    "c": 0.1937,
    "h": 283.2
  },
  "luminance": 0.22172
}

Semantic roles & 50–950 ramp

primary
#7B6FF5
secondary
#EFF3CD
accent
#E402CF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7B6FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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