#7E7CD5#7E7CD5

#7E7CD5 is a light, vivid blue. Relative luminance 0.237; OKLCH L 62.7% C 0.132 H 282.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7E7CD5
RGBrgb(126, 124, 213)
HSLhsl(241, 51%, 66%)
HSVhsv(241, 42%, 84%)
CMYKcmyk(40.8%, 41.8%, 0%, 16.5%)
CIE-LABlab(55.74, 22.75, -45.60)
CIE-LCHlch(55.74, 50.96, 296.51°)
OKLaboklab(62.73% 0.0295 -0.1286)
OKLCHoklch(62.73% 0.132 282.9)
XYZxyz(27.8186, 23.6539, 66.0378)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7CD5 #D3D57C
analogous
#7CA6D5 #7E7CD5 #AA7CD5
triadic
#7E7CD5 #D57E7C #7CD57E
tetradic
#7E7CD5 #D57CA6 #D3D57C #7CD5AA
square
#7E7CD5 #D57CA6 #D3D57C #7CD5AA
split-complementary
#7E7CD5 #D5AA7C #A6D57C
monochromatic
#3734A2 #504EC6 #7E7CD5 #ACAAE4 #D9D9F3

Accessibility & contrast

On white

3.66
#7E7CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#7E7CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7CD5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7CD5#FFFFFF#000000##000000
##7E7CD51.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C89D8
Deuteranopia (green-blind)
#5883D3
Tritanopia (blue-blind)
#648E9E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7e7cd5;
/* rgb */ color: rgb(126, 124, 213);
/* oklch */ color: oklch(62.7% 0.132 282.9);
Tailwind
colors: {
  custom: {
    50: '#a7a1e2',
    500: '#7e7cd5',
    950: '#000000',
  },
}
SCSS
$custom: #7e7cd5;
$custom-light: #a7a1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7cd5",
  "rgb": {
    "r": 126,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 241.348,
    "s": 51.445,
    "l": 66.078
  },
  "oklch": {
    "l": 0.62727,
    "c": 0.13195,
    "h": 282.9
  },
  "luminance": 0.23655
}

Semantic roles & 50–950 ramp

primary
#7E7CD5
secondary
#E4E5C8
accent
#BF27BB
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100F15
muted
#7F7E83

Preview Lab

Preview with #7E7CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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