#7B7DEB#7B7DEB

#7B7DEB is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.0% C 0.162 H 280.0°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7B7DEB
RGBrgb(123, 125, 235)
HSLhsl(239, 74%, 70%)
HSVhsv(239, 48%, 92%)
CMYKcmyk(47.7%, 46.8%, 0%, 7.8%)
CIE-LABlab(56.95, 27.83, -56.01)
CIE-LCHlch(56.95, 62.55, 296.42°)
OKLaboklab(63.98% 0.0281 -0.1592)
OKLCHoklch(63.98% 0.162 280)
XYZxyz(30.4928, 24.8747, 81.7757)
Luminance0.2488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7DEB #EBE97B
analogous
#7BB5EB #7B7DEB #B17BEB
triadic
#7B7DEB #EB7B7D #7DEB7B
tetradic
#7B7DEB #EB7BB5 #EBE97B #7BEBB1
square
#7B7DEB #EB7BB5 #EBE97B #7BEBB1
split-complementary
#7B7DEB #EBB17B #B5EB7B
monochromatic
#1F22CD #4649E3 #7B7DEB #B0B1F3 #E4E5FB

Accessibility & contrast

On white

3.51
#7B7DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#7B7DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7DEB
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7DEB#FFFFFF#000000##000000
##7B7DEB1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8DEF
Deuteranopia (green-blind)
#4585E9
Tritanopia (blue-blind)
#5294A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7b7deb;
/* rgb */ color: rgb(123, 125, 235);
/* oklch */ color: oklch(64.0% 0.162 280.0);
Tailwind
colors: {
  custom: {
    50: '#a7a2f2',
    500: '#7b7deb',
    950: '#000000',
  },
}
SCSS
$custom: #7b7deb;
$custom-light: #a7a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7deb",
  "rgb": {
    "r": 123,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 238.929,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.63976,
    "c": 0.16161,
    "h": 280
  },
  "luminance": 0.24876
}

Semantic roles & 50–950 ramp

primary
#7B7DEB
secondary
#F0F0D1
accent
#D210D6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #7B7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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