#7A72EA#7A72EA

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

Color values

HEX#7A72EA
RGBrgb(122, 114, 234)
HSLhsl(244, 74%, 68%)
HSVhsv(244, 51%, 92%)
CMYKcmyk(47.9%, 51.3%, 0%, 8.2%)
CIE-LABlab(54.14, 33.83, -59.96)
CIE-LCHlch(54.14, 68.85, 299.43°)
OKLaboklab(61.83% 0.0394 -0.1708)
OKLCHoklch(61.83% 0.175 283)
XYZxyz(28.8902, 22.1113, 80.5716)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A72EA #E2EA72
analogous
#72A6EA #7A72EA #B672EA
triadic
#7A72EA #EA7A72 #72EA7A
tetradic
#7A72EA #EA72A6 #E2EA72 #72EAB6
square
#7A72EA #EA72A6 #E2EA72 #72EAB6
split-complementary
#7A72EA #EAB672 #A6EA72
monochromatic
#281DC4 #483DE2 #7A72EA #ACA7F2 #DEDDFA

Accessibility & contrast

On white

3.87
#7A72EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#7A72EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A72EA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A72EA#FFFFFF#000000##000000
##7A72EA1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3785EE
Deuteranopia (green-blind)
#2F7DE7
Tritanopia (blue-blind)
#528CA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a72ea;
/* rgb */ color: rgb(122, 114, 234);
/* oklch */ color: oklch(61.8% 0.175 283.0);
Tailwind
colors: {
  custom: {
    50: '#a79af1',
    500: '#7a72ea',
    950: '#000000',
  },
}
SCSS
$custom: #7a72ea;
$custom-light: #a79af1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a72ea",
  "rgb": {
    "r": 122,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 244,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61826,
    "c": 0.17532,
    "h": 283
  },
  "luminance": 0.22113
}

Semantic roles & 50–950 ramp

primary
#7A72EA
secondary
#ECEECA
accent
#D60FC9
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A72EA

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

Preview Lab → · Contrast checker → · Palette generator →

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