#7A72EC#7A72EC

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

Color values

HEX#7A72EC
RGBrgb(122, 114, 236)
HSLhsl(244, 76%, 69%)
HSVhsv(244, 52%, 93%)
CMYKcmyk(48.3%, 51.7%, 0%, 7.5%)
CIE-LABlab(54.27, 34.42, -60.88)
CIE-LCHlch(54.27, 69.94, 299.49°)
OKLaboklab(61.96% 0.0396 -0.1735)
OKLCHoklch(61.96% 0.178 282.8)
XYZxyz(29.1791, 22.2268, 82.0933)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A72EC #E4EC72
analogous
#72A7EC #7A72EC #B772EC
triadic
#7A72EC #EC7A72 #72EC7A
tetradic
#7A72EC #EC72A7 #E4EC72 #72ECB7
square
#7A72EC #EC72A7 #E4EC72 #72ECB7
split-complementary
#7A72EC #ECB772 #A7EC72
monochromatic
#261BC9 #473CE5 #7A72EC #ADA8F3 #E0DEFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A72EC#FFFFFF#000000##000000
##7A72EC1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F0
Deuteranopia (green-blind)
#2C7EE9
Tritanopia (blue-blind)
#518DA4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7a72ec;
/* rgb */ color: rgb(122, 114, 236);
/* oklch */ color: oklch(62.0% 0.178 282.8);
Tailwind
colors: {
  custom: {
    50: '#a79af3',
    500: '#7a72ec',
    950: '#000000',
  },
}
SCSS
$custom: #7a72ec;
$custom-light: #a79af3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a72ec",
  "rgb": {
    "r": 122,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 243.934,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61956,
    "c": 0.17799,
    "h": 282.8
  },
  "luminance": 0.22228
}

Semantic roles & 50–950 ramp

primary
#7A72EC
secondary
#EDEFCB
accent
#D80DCB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A72EC

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

Preview Lab → · Contrast checker → · Palette generator →

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