#7B7FED#7B7FED

#7B7FED is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.5% C 0.162 H 279.3°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7B7FED
RGBrgb(123, 127, 237)
HSLhsl(238, 76%, 71%)
HSVhsv(238, 48%, 93%)
CMYKcmyk(48.1%, 46.4%, 0%, 7.1%)
CIE-LABlab(57.56, 27.24, -56.16)
CIE-LCHlch(57.56, 62.41, 295.88°)
OKLaboklab(64.47% 0.026 -0.1595)
OKLCHoklch(64.47% 0.162 279.3)
XYZxyz(31.0391, 25.5024, 83.3913)
Luminance0.2550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7FED #EDE97B
analogous
#7BB8ED #7B7FED #B07BED
triadic
#7B7FED #ED7B7F #7FED7B
tetradic
#7B7FED #ED7BB8 #EDE97B #7BEDB0
square
#7B7FED #ED7BB8 #EDE97B #7BEDB0
split-complementary
#7B7FED #EDB07B #B8ED7B
monochromatic
#1D23D1 #454BE6 #7B7FED #B1B3F4 #E4E5FB

Accessibility & contrast

On white

3.44
#7B7FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#7B7FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7FED
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7FED#FFFFFF#000000##000000
##7B7FED1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#508FF1
Deuteranopia (green-blind)
#4786EB
Tritanopia (blue-blind)
#5096AB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7b7fed;
/* rgb */ color: rgb(123, 127, 237);
/* oklch */ color: oklch(64.5% 0.162 279.3);
Tailwind
colors: {
  custom: {
    50: '#a7a4f3',
    500: '#7b7fed',
    950: '#000000',
  },
}
SCSS
$custom: #7b7fed;
$custom-light: #a7a4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7fed",
  "rgb": {
    "r": 123,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 237.895,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64473,
    "c": 0.16166,
    "h": 279.3
  },
  "luminance": 0.25504
}

Semantic roles & 50–950 ramp

primary
#7B7FED
secondary
#F1F0D2
accent
#D10DD8
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7B7FED

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

Preview Lab → · Contrast checker → · Palette generator →

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