#7E76CB#7E76CB

#7E76CB is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.0% C 0.127 H 286.3°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7E76CB
RGBrgb(126, 118, 203)
HSLhsl(246, 45%, 63%)
HSVhsv(246, 42%, 80%)
CMYKcmyk(37.9%, 41.9%, 0%, 20.4%)
CIE-LABlab(53.71, 23.51, -43.15)
CIE-LCHlch(53.71, 49.14, 298.58°)
OKLaboklab(61.02% 0.0356 -0.1215)
OKLCHoklch(61.02% 0.127 286.3)
XYZxyz(25.8591, 21.7034, 59.3150)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E76CB #C3CB76
analogous
#7698CB #7E76CB #A876CB
triadic
#7E76CB #CB7E76 #76CB7E
tetradic
#7E76CB #CB7698 #C3CB76 #76CBA8
square
#7E76CB #CB7698 #C3CB76 #76CBA8
split-complementary
#7E76CB #CBA876 #98CB76
monochromatic
#3F3790 #544ABA #7E76CB #A8A2DC #D2CFED

Accessibility & contrast

On white

3.93
#7E76CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#7E76CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E76CB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E76CB#FFFFFF#000000##000000
##7E76CB1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983CE
Deuteranopia (green-blind)
#577EC9
Tritanopia (blue-blind)
#698797
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e76cb;
/* rgb */ color: rgb(126, 118, 203);
/* oklch */ color: oklch(61.0% 0.127 286.3);
Tailwind
colors: {
  custom: {
    50: '#a69ddb',
    500: '#7e76cb',
    950: '#000000',
  },
}
SCSS
$custom: #7e76cb;
$custom-light: #a69ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e76cb",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 203
  },
  "hsl": {
    "h": 245.647,
    "s": 44.974,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61017,
    "c": 0.12656,
    "h": 286.3
  },
  "luminance": 0.21704
}

Semantic roles & 50–950 ramp

primary
#7E76CB
secondary
#DBDEBF
accent
#B82DAB
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7E76CB

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

Preview Lab → · Contrast checker → · Palette generator →

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