#7E7ABC#7E7ABC

#7E7ABC is a mid, moderate blue. Relative luminance 0.220; OKLCH L 61.0% C 0.099 H 285.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7E7ABC
RGBrgb(126, 122, 188)
HSLhsl(244, 33%, 61%)
HSVhsv(244, 35%, 74%)
CMYKcmyk(33%, 35.1%, 0%, 26.3%)
CIE-LABlab(54.01, 17.04, -34.12)
CIE-LCHlch(54.01, 38.13, 296.53°)
OKLaboklab(61.01% 0.027 -0.0952)
OKLCHoklch(61.01% 0.099 285.8)
XYZxyz(24.6384, 21.9849, 50.5126)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7ABC #B8BC7A
analogous
#7A97BC #7E7ABC #9F7ABC
triadic
#7E7ABC #BC7E7A #7ABC7E
tetradic
#7E7ABC #BC7A97 #B8BC7A #7ABC9F
square
#7E7ABC #BC7A97 #B8BC7A #7ABC9F
split-complementary
#7E7ABC #BC9F7A #97BC7A
monochromatic
#433F7D #5853A5 #7E7ABC #A5A3D1 #CDCBE5

Accessibility & contrast

On white

3.89
#7E7ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7E7ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7ABC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7ABC#FFFFFF#000000##000000
##7E7ABC1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683BF
Deuteranopia (green-blind)
#657FBA
Tritanopia (blue-blind)
#6E8692
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e7abc;
/* rgb */ color: rgb(126, 122, 188);
/* oklch */ color: oklch(61.0% 0.099 285.8);
Tailwind
colors: {
  custom: {
    50: '#a5a0d0',
    500: '#7e7abc',
    950: '#000000',
  },
}
SCSS
$custom: #7e7abc;
$custom-light: #a5a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7abc",
  "rgb": {
    "r": 126,
    "g": 122,
    "b": 188
  },
  "hsl": {
    "h": 243.636,
    "s": 33,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61008,
    "c": 0.09899,
    "h": 285.8
  },
  "luminance": 0.21986
}

Semantic roles & 50–950 ramp

primary
#7E7ABC
secondary
#D4D5BC
accent
#AC3AA5
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7E7ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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