#7B72EC#7B72EC

#7B72EC is a light, vivid blue. Relative luminance 0.223; OKLCH L 62.0% C 0.178 H 283.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7B72EC
RGBrgb(123, 114, 236)
HSLhsl(244, 76%, 69%)
HSVhsv(244, 52%, 93%)
CMYKcmyk(47.9%, 51.7%, 0%, 7.5%)
CIE-LABlab(54.34, 34.64, -60.75)
CIE-LCHlch(54.34, 69.93, 299.69°)
OKLaboklab(62.03% 0.0407 -0.1731)
OKLCHoklch(62.03% 0.178 283.2)
XYZxyz(29.3215, 22.3003, 82.1000)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B72EC #E3EC72
analogous
#72A6EC #7B72EC #B872EC
triadic
#7B72EC #EC7B72 #72EC7B
tetradic
#7B72EC #EC72A6 #E3EC72 #72ECB8
square
#7B72EC #EC72A6 #E3EC72 #72ECB8
split-complementary
#7B72EC #ECB872 #A6EC72
monochromatic
#281BC9 #493CE5 #7B72EC #ADA8F3 #E0DEFB

Accessibility & contrast

On white

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

On black

5.46
#7B72EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B72EC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B72EC#FFFFFF#000000##000000
##7B72EC1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586F0
Deuteranopia (green-blind)
#2D7EE9
Tritanopia (blue-blind)
#538DA4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7b72ec;
/* rgb */ color: rgb(123, 114, 236);
/* oklch */ color: oklch(62.0% 0.178 283.2);
Tailwind
colors: {
  custom: {
    50: '#a89af3',
    500: '#7b72ec',
    950: '#000000',
  },
}
SCSS
$custom: #7b72ec;
$custom-light: #a89af3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b72ec",
  "rgb": {
    "r": 123,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 244.426,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62033,
    "c": 0.17787,
    "h": 283.2
  },
  "luminance": 0.22302
}

Semantic roles & 50–950 ramp

primary
#7B72EC
secondary
#ECEFCB
accent
#D80DC9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7B72EC

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

Preview Lab → · Contrast checker → · Palette generator →

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