#7B7CFA#7B7CFA

#7B7CFA is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.7% C 0.183 H 279.6°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7B7CFA
RGBrgb(123, 124, 250)
HSLhsl(240, 93%, 73%)
HSVhsv(240, 51%, 98%)
CMYKcmyk(50.8%, 50.4%, 0%, 2%)
CIE-LABlab(57.58, 32.91, -63.32)
CIE-LCHlch(57.58, 71.36, 297.47°)
OKLaboklab(64.74% 0.0307 -0.1806)
OKLCHoklch(64.74% 0.183 279.6)
XYZxyz(32.6260, 25.5265, 93.6319)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7CFA #FAF97B
analogous
#7BBBFA #7B7CFA #BA7BFA
triadic
#7B7CFA #FA7B7C #7CFA7B
tetradic
#7B7CFA #FA7BBB #FAF97B #7BFABA
square
#7B7CFA #FA7BBB #FAF97B #7BFABA
split-complementary
#7B7CFA #FABA7B #BBFA7B
monochromatic
#090BF1 #4041F8 #7B7CFA #B6B7FC #E2E2FE

Accessibility & contrast

On white

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

On black

6.11
#7B7CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7CFA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7CFA#FFFFFF#000000##000000
##7B7CFA1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8FFE
Deuteranopia (green-blind)
#2F85F7
Tritanopia (blue-blind)
#4798AF
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7b7cfa;
/* rgb */ color: rgb(123, 124, 250);
/* oklch */ color: oklch(64.7% 0.183 279.6);
Tailwind
colors: {
  custom: {
    50: '#a9a2fd',
    500: '#7b7cfa',
    950: '#000000',
  },
}
SCSS
$custom: #7b7cfa;
$custom-light: #a9a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7cfa",
  "rgb": {
    "r": 123,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 239.528,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.64735,
    "c": 0.18319,
    "h": 279.6
  },
  "luminance": 0.25528
}

Semantic roles & 50–950 ramp

primary
#7B7CFA
secondary
#F6F6D5
accent
#E400E6
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #7B7CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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