#7B7DFD#7B7DFD

#7B7DFD is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.1% C 0.186 H 279.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7B7DFD
RGBrgb(123, 125, 253)
HSLhsl(239, 97%, 74%)
HSVhsv(239, 51%, 99%)
CMYKcmyk(51.4%, 50.6%, 0%, 0.8%)
CIE-LABlab(58.01, 33.23, -64.29)
CIE-LCHlch(58.01, 72.37, 297.33°)
OKLaboklab(65.11% 0.0298 -0.1835)
OKLCHoklch(65.11% 0.186 279.2)
XYZxyz(33.2261, 25.9680, 96.1710)
Luminance0.2597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7DFD #FDFB7B
analogous
#7BBEFD #7B7DFD #BA7BFD
triadic
#7B7DFD #FD7B7D #7DFD7B
tetradic
#7B7DFD #FD7BBE #FDFB7B #7BFDBA
square
#7B7DFD #FD7BBE #FDFB7B #7BFDBA
split-complementary
#7B7DFD #FDBA7B #BEFD7B
monochromatic
#0408FA #3F42FC #7B7DFD #B7B8FE #E1E1FF

Accessibility & contrast

On white

3.39
#7B7DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#7B7DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7DFD
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7DFD#FFFFFF#000000##000000
##7B7DFD1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C91FF
Deuteranopia (green-blind)
#2C86FA
Tritanopia (blue-blind)
#4499B1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7b7dfd;
/* rgb */ color: rgb(123, 125, 253);
/* oklch */ color: oklch(65.1% 0.186 279.2);
Tailwind
colors: {
  custom: {
    50: '#a9a2ff',
    500: '#7b7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #7b7dfd;
$custom-light: #a9a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7dfd",
  "rgb": {
    "r": 123,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 239.077,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.6511,
    "c": 0.18589,
    "h": 279.2
  },
  "luminance": 0.2597
}

Semantic roles & 50–950 ramp

primary
#7B7DFD
secondary
#F7F6D4
accent
#E200E6
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7B7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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