#7B7DF7#7B7DF7

#7B7DF7 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.7% C 0.178 H 279.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7B7DF7
RGBrgb(123, 125, 247)
HSLhsl(239, 89%, 73%)
HSVhsv(239, 50%, 97%)
CMYKcmyk(50.2%, 49.4%, 0%, 3.1%)
CIE-LABlab(57.65, 31.42, -61.56)
CIE-LCHlch(57.65, 69.12, 297.04°)
OKLaboklab(64.72% 0.0293 -0.1754)
OKLCHoklch(64.72% 0.178 279.5)
XYZxyz(32.2853, 25.5917, 91.2161)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7DF7 #F7F57B
analogous
#7BBBF7 #7B7DF7 #B77BF7
triadic
#7B7DF7 #F77B7D #7DF77B
tetradic
#7B7DF7 #F77BBB #F7F57B #7BF7B7
square
#7B7DF7 #F77BBB #F7F57B #7BF7B7
split-complementary
#7B7DF7 #F7B77B #BBF77B
monochromatic
#0E12E9 #4144F4 #7B7DF7 #B5B6FA #E2E3FD

Accessibility & contrast

On white

3.43
#7B7DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#7B7DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7DF7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7DF7#FFFFFF#000000##000000
##7B7DF71.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#438FFB
Deuteranopia (green-blind)
#3686F4
Tritanopia (blue-blind)
#4998AE
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7b7df7;
/* rgb */ color: rgb(123, 125, 247);
/* oklch */ color: oklch(64.7% 0.178 279.5);
Tailwind
colors: {
  custom: {
    50: '#a9a2fa',
    500: '#7b7df7',
    950: '#000000',
  },
}
SCSS
$custom: #7b7df7;
$custom-light: #a9a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7df7",
  "rgb": {
    "r": 123,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 239.032,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.64724,
    "c": 0.17787,
    "h": 279.5
  },
  "luminance": 0.25594
}

Semantic roles & 50–950 ramp

primary
#7B7DF7
secondary
#F5F5D6
accent
#E100E5
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7B7DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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