#7E7BCD#7E7BCD

#7E7BCD is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.1% C 0.122 H 283.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7E7BCD
RGBrgb(126, 123, 205)
HSLhsl(242, 45%, 64%)
HSVhsv(242, 40%, 80%)
CMYKcmyk(38.5%, 40%, 0%, 19.6%)
CIE-LABlab(55.08, 21.09, -42.12)
CIE-LCHlch(55.08, 47.11, 296.60°)
OKLaboklab(62.09% 0.0294 -0.1185)
OKLCHoklch(62.09% 0.122 283.9)
XYZxyz(26.7035, 23.0084, 60.7798)
Luminance0.2301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7BCD #CACD7B
analogous
#7BA1CD #7E7BCD #A77BCD
triadic
#7E7BCD #CD7E7B #7BCD7E
tetradic
#7E7BCD #CD7BA1 #CACD7B #7BCDA7
square
#7E7BCD #CD7BA1 #CACD7B #7BCDA7
split-complementary
#7E7BCD #CDA77B #A1CD7B
monochromatic
#3C3895 #534FBC #7E7BCD #A9A7DE #D5D4EF

Accessibility & contrast

On white

3.75
#7E7BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#7E7BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7BCD
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7BCD#FFFFFF#000000##000000
##7E7BCD1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86D0
Deuteranopia (green-blind)
#5C81CB
Tritanopia (blue-blind)
#688B9A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #7e7bcd;
/* rgb */ color: rgb(126, 123, 205);
/* oklch */ color: oklch(62.1% 0.122 283.9);
Tailwind
colors: {
  custom: {
    50: '#a6a1dc',
    500: '#7e7bcd',
    950: '#000000',
  },
}
SCSS
$custom: #7e7bcd;
$custom-light: #a6a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7bcd",
  "rgb": {
    "r": 126,
    "g": 123,
    "b": 205
  },
  "hsl": {
    "h": 242.195,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62093,
    "c": 0.12204,
    "h": 283.9
  },
  "luminance": 0.23009
}

Semantic roles & 50–950 ramp

primary
#7E7BCD
secondary
#DFE0C4
accent
#B82DB3
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7E7BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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