#7B7FF2#7B7FF2

#7B7FF2 is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.8% C 0.168 H 279.1°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7B7FF2
RGBrgb(123, 127, 242)
HSLhsl(238, 82%, 72%)
HSVhsv(238, 49%, 95%)
CMYKcmyk(49.2%, 47.5%, 0%, 5.1%)
CIE-LABlab(57.85, 28.74, -58.48)
CIE-LCHlch(57.85, 65.16, 296.17°)
OKLaboklab(64.78% 0.0266 -0.1664)
OKLCHoklch(64.78% 0.168 279.1)
XYZxyz(31.7798, 25.7987, 87.2923)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7FF2 #F2EE7B
analogous
#7BBBF2 #7B7FF2 #B37BF2
triadic
#7B7FF2 #F27B7F #7FF27B
tetradic
#7B7FF2 #F27BBB #F2EE7B #7BF2B3
square
#7B7FF2 #F27BBB #F2EE7B #7BF2B3
split-complementary
#7B7FF2 #F2B37B #BBF27B
monochromatic
#161CDD #4349ED #7B7FF2 #B3B5F7 #E3E4FC

Accessibility & contrast

On white

3.41
#7B7FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#7B7FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7FF2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7FF2#FFFFFF#000000##000000
##7B7FF21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C90F6
Deuteranopia (green-blind)
#4186EF
Tritanopia (blue-blind)
#4D98AD
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7b7ff2;
/* rgb */ color: rgb(123, 127, 242);
/* oklch */ color: oklch(64.8% 0.168 279.1);
Tailwind
colors: {
  custom: {
    50: '#a8a4f7',
    500: '#7b7ff2',
    950: '#000000',
  },
}
SCSS
$custom: #7b7ff2;
$custom-light: #a8a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7ff2",
  "rgb": {
    "r": 123,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 237.983,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6478,
    "c": 0.16847,
    "h": 279.1
  },
  "luminance": 0.25801
}

Semantic roles & 50–950 ramp

primary
#7B7FF2
secondary
#F4F3D5
accent
#D707DE
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7B7FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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