#7B7DFA#7B7DFA

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

Color values

HEX#7B7DFA
RGBrgb(123, 125, 250)
HSLhsl(239, 93%, 73%)
HSVhsv(239, 51%, 98%)
CMYKcmyk(50.8%, 50%, 0%, 2%)
CIE-LABlab(57.83, 32.32, -62.93)
CIE-LCHlch(57.83, 70.75, 297.19°)
OKLaboklab(64.92% 0.0296 -0.1795)
OKLCHoklch(64.92% 0.182 279.4)
XYZxyz(32.7520, 25.7784, 93.6739)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7DFA #FAF87B
analogous
#7BBCFA #7B7DFA #B87BFA
triadic
#7B7DFA #FA7B7D #7DFA7B
tetradic
#7B7DFA #FA7BBC #FAF87B #7BFAB8
square
#7B7DFA #FA7BBC #FAF87B #7BFAB8
split-complementary
#7B7DFA #FAB87B #BCFA7B
monochromatic
#090DF1 #4043F8 #7B7DFA #B6B7FC #E2E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B7DFA#FFFFFF#000000##000000
##7B7DFA1.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)
#3F90FE
Deuteranopia (green-blind)
#3286F7
Tritanopia (blue-blind)
#4699B0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7b7dfa;
/* rgb */ color: rgb(123, 125, 250);
/* oklch */ color: oklch(64.9% 0.182 279.4);
Tailwind
colors: {
  custom: {
    50: '#a9a2fd',
    500: '#7b7dfa',
    950: '#000000',
  },
}
SCSS
$custom: #7b7dfa;
$custom-light: #a9a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7dfa",
  "rgb": {
    "r": 123,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 239.055,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.64916,
    "c": 0.18189,
    "h": 279.4
  },
  "luminance": 0.2578
}

Semantic roles & 50–950 ramp

primary
#7B7DFA
secondary
#F6F6D5
accent
#E200E6
background
#FAFAFF
surface
#F5F3FF
border
#CFCDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7B7DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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