#7E76CD#7E76CD

#7E76CD is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.1% C 0.129 H 286.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7E76CD
RGBrgb(126, 118, 205)
HSLhsl(246, 47%, 63%)
HSVhsv(246, 42%, 80%)
CMYKcmyk(38.5%, 42.4%, 0%, 19.6%)
CIE-LABlab(53.81, 24.07, -44.13)
CIE-LCHlch(53.81, 50.26, 298.61°)
OKLaboklab(61.13% 0.0359 -0.1243)
OKLCHoklch(61.13% 0.129 286.1)
XYZxyz(26.0990, 21.7994, 60.5784)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E76CD #C5CD76
analogous
#7699CD #7E76CD #A976CD
triadic
#7E76CD #CD7E76 #76CD7E
tetradic
#7E76CD #CD7699 #C5CD76 #76CDA9
square
#7E76CD #CD7699 #C5CD76 #76CDA9
split-complementary
#7E76CD #CDA976 #99CD76
monochromatic
#3E3693 #5449BD #7E76CD #A8A3DD #D2D0EE

Accessibility & contrast

On white

3.92
#7E76CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7E76CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E76CD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E76CD#FFFFFF#000000##000000
##7E76CD1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5883D0
Deuteranopia (green-blind)
#567ECB
Tritanopia (blue-blind)
#688798
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e76cd;
/* rgb */ color: rgb(126, 118, 205);
/* oklch */ color: oklch(61.1% 0.129 286.1);
Tailwind
colors: {
  custom: {
    50: '#a79ddc',
    500: '#7e76cd',
    950: '#000000',
  },
}
SCSS
$custom: #7e76cd;
$custom-light: #a79ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e76cd",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 205
  },
  "hsl": {
    "h": 245.517,
    "s": 46.524,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61128,
    "c": 0.12939,
    "h": 286.1
  },
  "luminance": 0.218
}

Semantic roles & 50–950 ramp

primary
#7E76CD
secondary
#DCDFC0
accent
#BA2CAD
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7E76CD

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

Preview Lab → · Contrast checker → · Palette generator →

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