#7B7FFA#7B7FFA

#7B7FFA is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.3% C 0.179 H 278.8°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7B7FFA
RGBrgb(123, 127, 250)
HSLhsl(238, 93%, 73%)
HSVhsv(238, 51%, 98%)
CMYKcmyk(50.8%, 49.2%, 0%, 2%)
CIE-LABlab(58.31, 31.14, -62.15)
CIE-LCHlch(58.31, 69.52, 296.61°)
OKLaboklab(65.28% 0.0274 -0.1772)
OKLCHoklch(65.28% 0.179 278.8)
XYZxyz(33.0077, 26.2899, 93.7591)
Luminance0.2629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7FFA #FAF67B
analogous
#7BBEFA #7B7FFA #B67BFA
triadic
#7B7FFA #FA7B7F #7FFA7B
tetradic
#7B7FFA #FA7BBE #FAF67B #7BFAB6
square
#7B7FFA #FA7BBE #FAF67B #7BFAB6
split-complementary
#7B7FFA #FAB67B #BEFA7B
monochromatic
#0910F1 #4046F8 #7B7FFA #B6B8FC #E2E2FE

Accessibility & contrast

On white

3.36
#7B7FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#7B7FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7FFA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7FFA#FFFFFF#000000##000000
##7B7FFA1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4491FE
Deuteranopia (green-blind)
#3687F7
Tritanopia (blue-blind)
#469AB1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7b7ffa;
/* rgb */ color: rgb(123, 127, 250);
/* oklch */ color: oklch(65.3% 0.179 278.8);
Tailwind
colors: {
  custom: {
    50: '#a9a4fd',
    500: '#7b7ffa',
    950: '#000000',
  },
}
SCSS
$custom: #7b7ffa;
$custom-light: #a9a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7ffa",
  "rgb": {
    "r": 123,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 238.11,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.65281,
    "c": 0.17927,
    "h": 278.8
  },
  "luminance": 0.26292
}

Semantic roles & 50–950 ramp

primary
#7B7FFA
secondary
#F6F5D5
accent
#DE00E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7B7FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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