#7A72BC#7A72BC

#7A72BC is a mid, moderate blue. Relative luminance 0.198; OKLCH L 59.1% C 0.111 H 287.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7A72BC
RGBrgb(122, 114, 188)
HSLhsl(246, 36%, 59%)
HSVhsv(246, 39%, 74%)
CMYKcmyk(35.1%, 39.4%, 0%, 26.3%)
CIE-LABlab(51.61, 20.67, -37.90)
CIE-LCHlch(51.61, 43.17, 298.61°)
OKLaboklab(59.09% 0.0334 -0.1063)
OKLCHoklch(59.09% 0.111 287.4)
XYZxyz(23.1180, 19.8024, 50.1714)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A72BC #B4BC72
analogous
#728FBC #7A72BC #9F72BC
triadic
#7A72BC #BC7A72 #72BC7A
tetradic
#7A72BC #BC728F #B4BC72 #72BC9F
square
#7A72BC #BC728F #B4BC72 #72BC9F
split-complementary
#7A72BC #BC9F72 #8FBC72
monochromatic
#413A7A #574EA3 #7A72BC #A19BD0 #C8C5E3

Accessibility & contrast

On white

4.23
#7A72BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#7A72BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A72BC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A72BC#FFFFFF#000000##000000
##7A72BC1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DBF
Deuteranopia (green-blind)
#5A79BA
Tritanopia (blue-blind)
#69808E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a72bc;
/* rgb */ color: rgb(122, 114, 188);
/* oklch */ color: oklch(59.1% 0.111 287.4);
Tailwind
colors: {
  custom: {
    50: '#a39ad0',
    500: '#7a72bc',
    950: '#000000',
  },
}
SCSS
$custom: #7a72bc;
$custom-light: #a39ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a72bc",
  "rgb": {
    "r": 122,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 246.486,
    "s": 35.577,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59093,
    "c": 0.1114,
    "h": 287.4
  },
  "luminance": 0.19803
}

Semantic roles & 50–950 ramp

primary
#7A72BC
secondary
#D0D3B6
accent
#CC5CC0
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7A72BC

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

Preview Lab → · Contrast checker → · Palette generator →

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