#7E7BF2#7E7BF2

#7E7BF2 is a light, vivid blue. Relative luminance 0.250; OKLCH L 64.3% C 0.173 H 281.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7E7BF2
RGBrgb(126, 123, 242)
HSLhsl(242, 82%, 72%)
HSVhsv(242, 49%, 95%)
CMYKcmyk(47.9%, 49.2%, 0%, 5.1%)
CIE-LABlab(57.09, 31.75, -59.68)
CIE-LCHlch(57.09, 67.60, 298.02°)
OKLaboklab(64.26% 0.0345 -0.1698)
OKLCHoklch(64.26% 0.173 281.5)
XYZxyz(31.7093, 25.0107, 87.1439)
Luminance0.2501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7BF2 #EFF27B
analogous
#7BB4F2 #7E7BF2 #BA7BF2
triadic
#7E7BF2 #F27E7B #7BF27E
tetradic
#7E7BF2 #F27BB4 #EFF27B #7BF2BA
square
#7E7BF2 #F27BB4 #EFF27B #7BF2BA
split-complementary
#7E7BF2 #F2BA7B #B4F27B
monochromatic
#1B16DD #4843ED #7E7BF2 #B4B3F7 #E4E3FC

Accessibility & contrast

On white

3.50
#7E7BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#7E7BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7BF2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7BF2#FFFFFF#000000##000000
##7E7BF21.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#3C85EF
Tritanopia (blue-blind)
#5495AB
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #7e7bf2;
/* rgb */ color: rgb(126, 123, 242);
/* oklch */ color: oklch(64.3% 0.173 281.5);
Tailwind
colors: {
  custom: {
    50: '#aaa1f7',
    500: '#7e7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #7e7bf2;
$custom-light: #aaa1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7bf2",
  "rgb": {
    "r": 126,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 241.513,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.64262,
    "c": 0.17332,
    "h": 281.5
  },
  "luminance": 0.25012
}

Semantic roles & 50–950 ramp

primary
#7E7BF2
secondary
#F3F4D5
accent
#DE07D9
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #7E7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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