#7E7BC2#7E7BC2

#7E7BC2 is a mid, moderate blue. Relative luminance 0.225; OKLCH L 61.5% C 0.106 H 284.7°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7E7BC2
RGBrgb(126, 123, 194)
HSLhsl(243, 37%, 62%)
HSVhsv(243, 37%, 76%)
CMYKcmyk(35.1%, 36.6%, 0%, 23.9%)
CIE-LABlab(54.55, 18.06, -36.70)
CIE-LCHlch(54.55, 40.91, 296.20°)
OKLaboklab(61.51% 0.027 -0.1027)
OKLCHoklch(61.51% 0.106 284.7)
XYZxyz(25.4221, 22.4958, 54.0312)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7BC2 #BFC27B
analogous
#7B9CC2 #7E7BC2 #A27BC2
triadic
#7E7BC2 #C27E7B #7BC27E
tetradic
#7E7BC2 #C27B9C #BFC27B #7BC2A2
square
#7E7BC2 #C27B9C #BFC27B #7BC2A2
split-complementary
#7E7BC2 #C2A27B #9CC27B
monochromatic
#413E85 #5551AF #7E7BC2 #A7A5D5 #D0CFE9

Accessibility & contrast

On white

3.82
#7E7BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#7E7BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7BC2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7BC2#FFFFFF#000000##000000
##7E7BC21.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6585C5
Deuteranopia (green-blind)
#6380C0
Tritanopia (blue-blind)
#6C8895
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e7bc2;
/* rgb */ color: rgb(126, 123, 194);
/* oklch */ color: oklch(61.5% 0.106 284.7);
Tailwind
colors: {
  custom: {
    50: '#a5a1d4',
    500: '#7e7bc2',
    950: '#000000',
  },
}
SCSS
$custom: #7e7bc2;
$custom-light: #a5a1d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7bc2",
  "rgb": {
    "r": 126,
    "g": 123,
    "b": 194
  },
  "hsl": {
    "h": 242.535,
    "s": 36.788,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61512,
    "c": 0.10621,
    "h": 284.7
  },
  "luminance": 0.22497
}

Semantic roles & 50–950 ramp

primary
#7E7BC2
secondary
#D8D9BF
accent
#B036AB
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0E14
muted
#7F7E83

Preview Lab

Preview with #7E7BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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