#7B76D8#7B76D8

#7B76D8 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.5% C 0.145 H 283.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7B76D8
RGBrgb(123, 118, 216)
HSLhsl(243, 56%, 65%)
HSVhsv(243, 45%, 85%)
CMYKcmyk(43.1%, 45.4%, 0%, 15.3%)
CIE-LABlab(54.16, 26.43, -49.82)
CIE-LCHlch(54.16, 56.40, 297.94°)
OKLaboklab(61.52% 0.0341 -0.141)
OKLCHoklch(61.52% 0.145 283.6)
XYZxyz(27.0379, 22.1245, 67.7983)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B76D8 #D3D876
analogous
#76A2D8 #7B76D8 #AC76D8
triadic
#7B76D8 #D87B76 #76D87B
tetradic
#7B76D8 #D876A2 #D3D876 #76D8AC
square
#7B76D8 #D876A2 #D3D876 #76D8AC
split-complementary
#7B76D8 #D8AC76 #A2D876
monochromatic
#352FA5 #4D46CA #7B76D8 #A9A6E6 #D7D5F3

Accessibility & contrast

On white

3.87
#7B76D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#7B76D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B76D8
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B76D8#FFFFFF#000000##000000
##7B76D81.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5085DC
Deuteranopia (green-blind)
#4C7ED6
Tritanopia (blue-blind)
#5E8A9D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b76d8;
/* rgb */ color: rgb(123, 118, 216);
/* oklch */ color: oklch(61.5% 0.145 283.6);
Tailwind
colors: {
  custom: {
    50: '#a69de4',
    500: '#7b76d8',
    950: '#000000',
  },
}
SCSS
$custom: #7b76d8;
$custom-light: #a69de4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b76d8",
  "rgb": {
    "r": 123,
    "g": 118,
    "b": 216
  },
  "hsl": {
    "h": 243.061,
    "s": 55.682,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61521,
    "c": 0.14509,
    "h": 283.6
  },
  "luminance": 0.22126
}

Semantic roles & 50–950 ramp

primary
#7B76D8
secondary
#E4E5C4
accent
#C322BB
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7B76D8

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

Preview Lab → · Contrast checker → · Palette generator →

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