#7A72EB#7A72EB

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

Color values

HEX#7A72EB
RGBrgb(122, 114, 235)
HSLhsl(244, 75%, 68%)
HSVhsv(244, 51%, 92%)
CMYKcmyk(48.1%, 51.5%, 0%, 7.8%)
CIE-LABlab(54.21, 34.13, -60.42)
CIE-LCHlch(54.21, 69.39, 299.46°)
OKLaboklab(61.89% 0.0395 -0.1722)
OKLCHoklch(61.89% 0.177 282.9)
XYZxyz(29.0343, 22.1689, 81.3303)
Luminance0.2217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A72EB #E3EB72
analogous
#72A6EB #7A72EB #B672EB
triadic
#7A72EB #EB7A72 #72EB7A
tetradic
#7A72EB #EB72A6 #E3EB72 #72EBB6
square
#7A72EB #EB72A6 #E3EB72 #72EBB6
split-complementary
#7A72EB #EBB672 #A6EB72
monochromatic
#271CC6 #473CE3 #7A72EB #ADA8F3 #DFDDFA

Accessibility & contrast

On white

3.86
#7A72EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#7A72EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A72EB
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A72EB#FFFFFF#000000##000000
##7A72EB1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a72eb;
/* rgb */ color: rgb(122, 114, 235);
/* oklch */ color: oklch(61.9% 0.177 282.9);
Tailwind
colors: {
  custom: {
    50: '#a79af2',
    500: '#7a72eb',
    950: '#000000',
  },
}
SCSS
$custom: #7a72eb;
$custom-light: #a79af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a72eb",
  "rgb": {
    "r": 122,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 243.967,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61891,
    "c": 0.17666,
    "h": 282.9
  },
  "luminance": 0.2217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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