#7B7FF6#7B7FF6

#7B7FF6 is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.0% C 0.174 H 278.9°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7B7FF6
RGBrgb(123, 127, 246)
HSLhsl(238, 87%, 72%)
HSVhsv(238, 50%, 96%)
CMYKcmyk(50%, 48.4%, 0%, 3.5%)
CIE-LABlab(58.08, 29.94, -60.32)
CIE-LCHlch(58.08, 67.34, 296.40°)
OKLaboklab(65.03% 0.027 -0.1718)
OKLCHoklch(65.03% 0.174 278.9)
XYZxyz(32.3872, 26.0416, 90.4909)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7FF6 #F6F27B
analogous
#7BBCF6 #7B7FF6 #B57BF6
triadic
#7B7FF6 #F67B7F #7FF67B
tetradic
#7B7FF6 #F67BBC #F6F27B #7BF6B5
square
#7B7FF6 #F67BBC #F6F27B #7BF6B5
split-complementary
#7B7FF6 #F6B57B #BCF67B
monochromatic
#1017E7 #4247F2 #7B7FF6 #B4B7FA #E2E3FD

Accessibility & contrast

On white

3.38
#7B7FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#7B7FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7FF6
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7FF6#FFFFFF#000000##000000
##7B7FF61.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4890FA
Deuteranopia (green-blind)
#3C87F3
Tritanopia (blue-blind)
#4A99AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7b7ff6;
/* rgb */ color: rgb(123, 127, 246);
/* oklch */ color: oklch(65.0% 0.174 278.9);
Tailwind
colors: {
  custom: {
    50: '#a8a4fa',
    500: '#7b7ff6',
    950: '#000000',
  },
}
SCSS
$custom: #7b7ff6;
$custom-light: #a8a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7ff6",
  "rgb": {
    "r": 123,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 238.049,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.65029,
    "c": 0.17389,
    "h": 278.9
  },
  "luminance": 0.26044
}

Semantic roles & 50–950 ramp

primary
#7B7FF6
secondary
#F5F4D6
accent
#DC02E4
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7B7FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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