#7B7DF2#7B7DF2

#7B7DF2 is a light, vivid blue. Relative luminance 0.253; OKLCH L 64.4% C 0.171 H 279.7°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7B7DF2
RGBrgb(123, 125, 242)
HSLhsl(239, 82%, 72%)
HSVhsv(239, 49%, 95%)
CMYKcmyk(49.2%, 48.3%, 0%, 5.1%)
CIE-LABlab(57.35, 29.92, -59.26)
CIE-LCHlch(57.35, 66.39, 296.79°)
OKLaboklab(64.41% 0.0289 -0.1687)
OKLCHoklch(64.41% 0.171 279.7)
XYZxyz(31.5241, 25.2872, 87.2070)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7DF2 #F2F07B
analogous
#7BB9F2 #7B7DF2 #B57BF2
triadic
#7B7DF2 #F27B7D #7DF27B
tetradic
#7B7DF2 #F27BB9 #F2F07B #7BF2B5
square
#7B7DF2 #F27BB9 #F2F07B #7BF2B5
split-complementary
#7B7DF2 #F2B57B #B9F27B
monochromatic
#1619DD #4346ED #7B7DF2 #B3B4F7 #E3E4FC

Accessibility & contrast

On white

3.47
#7B7DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#7B7DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7DF2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7DF2#FFFFFF#000000##000000
##7B7DF21.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#488EF6
Deuteranopia (green-blind)
#3D85EF
Tritanopia (blue-blind)
#4D96AC
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7b7df2;
/* rgb */ color: rgb(123, 125, 242);
/* oklch */ color: oklch(64.4% 0.171 279.7);
Tailwind
colors: {
  custom: {
    50: '#a8a2f7',
    500: '#7b7df2',
    950: '#000000',
  },
}
SCSS
$custom: #7b7df2;
$custom-light: #a8a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7df2",
  "rgb": {
    "r": 123,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 238.992,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64409,
    "c": 0.17114,
    "h": 279.7
  },
  "luminance": 0.25289
}

Semantic roles & 50–950 ramp

primary
#7B7DF2
secondary
#F4F3D5
accent
#DB07DE
background
#FAFAFF
surface
#F4F3FF
border
#CECDD7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7B7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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