#7B6EF6#7B6EF6

#7B6EF6 is a light, vivid blue. Relative luminance 0.220; OKLCH L 62.0% C 0.196 H 283.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7B6EF6
RGBrgb(123, 110, 246)
HSLhsl(246, 88%, 70%)
HSVhsv(246, 55%, 96%)
CMYKcmyk(50%, 55.3%, 0%, 3.5%)
CIE-LABlab(54.04, 39.93, -66.81)
CIE-LCHlch(54.04, 77.83, 300.87°)
OKLaboklab(62.01% 0.0455 -0.191)
OKLCHoklch(62.01% 0.196 283.4)
XYZxyz(30.3738, 22.0150, 89.8198)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6EF6 #E9F66E
analogous
#6EA5F6 #7B6EF6 #BF6EF6
triadic
#7B6EF6 #F67B6E #6EF67B
tetradic
#7B6EF6 #F66EA5 #E9F66E #6EF6BF
square
#7B6EF6 #F66EA5 #E9F66E #6EF6BF
split-complementary
#7B6EF6 #F6BF6E #A5F66E
monochromatic
#210EDC #4734F2 #7B6EF6 #AFA8FA #E4E1FD

Accessibility & contrast

On white

3.89
#7B6EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7B6EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B6EF6
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6EF6#FFFFFF#000000##000000
##7B6EF61.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1186FB
Deuteranopia (green-blind)
#007DF3
Tritanopia (blue-blind)
#4C8DA7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b6ef6;
/* rgb */ color: rgb(123, 110, 246);
/* oklch */ color: oklch(62.0% 0.196 283.4);
Tailwind
colors: {
  custom: {
    50: '#a998fa',
    500: '#7b6ef6',
    950: '#000000',
  },
}
SCSS
$custom: #7b6ef6;
$custom-light: #a998fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6ef6",
  "rgb": {
    "r": 123,
    "g": 110,
    "b": 246
  },
  "hsl": {
    "h": 245.735,
    "s": 88.312,
    "l": 69.804
  },
  "oklch": {
    "l": 0.62011,
    "c": 0.1963,
    "h": 283.4
  },
  "luminance": 0.22017
}

Semantic roles & 50–950 ramp

primary
#7B6EF6
secondary
#EFF3CD
accent
#E501CF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7B6EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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