#7B7EDD#7B7EDD

#7B7EDD is a light, vivid blue. Relative luminance 0.244; OKLCH L 63.3% C 0.141 H 280.2°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7B7EDD
RGBrgb(123, 126, 221)
HSLhsl(238, 59%, 67%)
HSVhsv(238, 44%, 87%)
CMYKcmyk(44.3%, 43%, 0%, 13.3%)
CIE-LABlab(56.44, 23.12, -49.01)
CIE-LCHlch(56.44, 54.19, 295.25°)
OKLaboklab(63.34% 0.025 -0.1386)
OKLCHoklch(63.34% 0.141 280.2)
XYZxyz(28.6765, 24.3518, 71.5820)
Luminance0.2435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B7EDD #DDDA7B
analogous
#7BAFDD #7B7EDD #A97BDD
triadic
#7B7EDD #DD7B7E #7EDD7B
tetradic
#7B7EDD #DD7BAF #DDDA7B #7BDDA9
square
#7B7EDD #DD7BAF #DDDA7B #7BDDA9
split-complementary
#7B7EDD #DDA97B #AFDD7B
monochromatic
#2D31B0 #4A4ED0 #7B7EDD #ACAEEA #DCDDF6

Accessibility & contrast

On white

3.58
#7B7EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#7B7EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B7EDD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B7EDD#FFFFFF#000000##000000
##7B7EDD1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8BE1
Deuteranopia (green-blind)
#5384DB
Tritanopia (blue-blind)
#5A92A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7b7edd;
/* rgb */ color: rgb(123, 126, 221);
/* oklch */ color: oklch(63.3% 0.141 280.2);
Tailwind
colors: {
  custom: {
    50: '#a6a3e8',
    500: '#7b7edd',
    950: '#000000',
  },
}
SCSS
$custom: #7b7edd;
$custom-light: #a6a3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b7edd",
  "rgb": {
    "r": 123,
    "g": 126,
    "b": 221
  },
  "hsl": {
    "h": 238.163,
    "s": 59.036,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63338,
    "c": 0.14085,
    "h": 280.2
  },
  "luminance": 0.24353
}

Semantic roles & 50–950 ramp

primary
#7B7EDD
secondary
#E9E8CB
accent
#C21FC7
background
#FAFAFE
surface
#F4F3FC
border
#CECDD5
text
#100F16
muted
#7F7F84

Preview Lab

Preview with #7B7EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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