#7B72EB#7B72EB

#7B72EB is a mid, vivid blue. Relative luminance 0.222; OKLCH L 62.0% C 0.177 H 283.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7B72EB
RGBrgb(123, 114, 235)
HSLhsl(244, 75%, 68%)
HSVhsv(244, 51%, 92%)
CMYKcmyk(47.7%, 51.5%, 0%, 7.8%)
CIE-LABlab(54.28, 34.34, -60.29)
CIE-LCHlch(54.28, 69.39, 299.67°)
OKLaboklab(61.97% 0.0407 -0.1718)
OKLCHoklch(61.97% 0.177 283.3)
XYZxyz(29.1766, 22.2423, 81.3370)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B72EB #E2EB72
analogous
#72A5EB #7B72EB #B772EB
triadic
#7B72EB #EB7B72 #72EB7B
tetradic
#7B72EB #EB72A5 #E2EB72 #72EBB7
square
#7B72EB #EB72A5 #E2EB72 #72EBB7
split-complementary
#7B72EB #EBB772 #A5EB72
monochromatic
#291CC6 #493CE3 #7B72EB #ADA8F3 #DFDDFA

Accessibility & contrast

On white

3.85
#7B72EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#7B72EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B72EB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B72EB#FFFFFF#000000##000000
##7B72EB1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3686EF
Deuteranopia (green-blind)
#2F7EE8
Tritanopia (blue-blind)
#538CA4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7b72eb;
/* rgb */ color: rgb(123, 114, 235);
/* oklch */ color: oklch(62.0% 0.177 283.3);
Tailwind
colors: {
  custom: {
    50: '#a89af2',
    500: '#7b72eb',
    950: '#000000',
  },
}
SCSS
$custom: #7b72eb;
$custom-light: #a89af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b72eb",
  "rgb": {
    "r": 123,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 244.463,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61968,
    "c": 0.17653,
    "h": 283.3
  },
  "luminance": 0.22244
}

Semantic roles & 50–950 ramp

primary
#7B72EB
secondary
#ECEFCA
accent
#D70EC8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7B72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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