#7C7BEA#7C7BEA

#7C7BEA is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.6% C 0.163 H 281.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7C7BEA
RGBrgb(124, 123, 234)
HSLhsl(241, 73%, 70%)
HSVhsv(241, 47%, 92%)
CMYKcmyk(47%, 47.4%, 0%, 8.2%)
CIE-LABlab(56.48, 28.95, -56.22)
CIE-LCHlch(56.48, 63.23, 297.25°)
OKLaboklab(63.62% 0.0314 -0.1597)
OKLCHoklch(63.62% 0.163 281.1)
XYZxyz(30.2419, 24.3900, 80.9402)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7BEA #E9EA7B
analogous
#7BB1EA #7C7BEA #B47BEA
triadic
#7C7BEA #EA7C7B #7BEA7C
tetradic
#7C7BEA #EA7BB1 #E9EA7B #7BEAB4
square
#7C7BEA #EA7BB1 #E9EA7B #7BEAB4
split-complementary
#7C7BEA #EAB47B #B1EA7B
monochromatic
#2220CA #4846E2 #7C7BEA #B0B0F2 #E5E5FB

Accessibility & contrast

On white

3.57
#7C7BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#7C7BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7BEA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7BEA#FFFFFF#000000##000000
##7C7BEA1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CEE
Deuteranopia (green-blind)
#4383E8
Tritanopia (blue-blind)
#5593A7
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7c7bea;
/* rgb */ color: rgb(124, 123, 234);
/* oklch */ color: oklch(63.6% 0.163 281.1);
Tailwind
colors: {
  custom: {
    50: '#a8a1f1',
    500: '#7c7bea',
    950: '#000000',
  },
}
SCSS
$custom: #7c7bea;
$custom-light: #a8a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7bea",
  "rgb": {
    "r": 124,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 240.541,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.63616,
    "c": 0.16279,
    "h": 281.1
  },
  "luminance": 0.24392
}

Semantic roles & 50–950 ramp

primary
#7C7BEA
secondary
#F0F0D1
accent
#D511D3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100F17
muted
#7F7E85

Preview Lab

Preview with #7C7BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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