#7B72E8#7B72E8

#7B72E8 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.8% C 0.173 H 283.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7B72E8
RGBrgb(123, 114, 232)
HSLhsl(245, 72%, 68%)
HSVhsv(245, 51%, 91%)
CMYKcmyk(47%, 50.9%, 0%, 9%)
CIE-LABlab(54.10, 33.46, -58.91)
CIE-LCHlch(54.10, 67.75, 299.60°)
OKLaboklab(61.77% 0.0405 -0.1677)
OKLCHoklch(61.77% 0.173 283.6)
XYZxyz(28.7469, 22.0704, 79.0736)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B72E8 #DFE872
analogous
#72A4E8 #7B72E8 #B672E8
triadic
#7B72E8 #E87B72 #72E87B
tetradic
#7B72E8 #E872A4 #DFE872 #72E8B6
square
#7B72E8 #E872A4 #DFE872 #72E8B6
split-complementary
#7B72E8 #E8B672 #A4E872
monochromatic
#2C1FC0 #4A3DDF #7B72E8 #ACA7F1 #DEDBF9

Accessibility & contrast

On white

3.88
#7B72E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7B72E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B72E8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B72E8#FFFFFF#000000##000000
##7B72E81.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A85EC
Deuteranopia (green-blind)
#337EE5
Tritanopia (blue-blind)
#558BA2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b72e8;
/* rgb */ color: rgb(123, 114, 232);
/* oklch */ color: oklch(61.8% 0.173 283.6);
Tailwind
colors: {
  custom: {
    50: '#a79af0',
    500: '#7b72e8',
    950: '#000000',
  },
}
SCSS
$custom: #7b72e8;
$custom-light: #a79af0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b72e8",
  "rgb": {
    "r": 123,
    "g": 114,
    "b": 232
  },
  "hsl": {
    "h": 244.576,
    "s": 71.951,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61774,
    "c": 0.17253,
    "h": 283.6
  },
  "luminance": 0.22072
}

Semantic roles & 50–950 ramp

primary
#7B72E8
secondary
#EAEDC9
accent
#D411C5
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7B72E8

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

Preview Lab → · Contrast checker → · Palette generator →

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