#7A72B0#7A72B0

#7A72B0 is a mid, moderate blue. Relative luminance 0.193; OKLCH L 58.5% C 0.094 H 289.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7A72B0
RGBrgb(122, 114, 176)
HSLhsl(248, 28%, 57%)
HSVhsv(248, 35%, 69%)
CMYKcmyk(30.7%, 35.2%, 0%, 31%)
CIE-LABlab(51.04, 17.44, -31.87)
CIE-LCHlch(51.04, 36.33, 298.70°)
OKLaboklab(58.47% 0.0307 -0.0888)
OKLCHoklch(58.47% 0.094 289.1)
XYZxyz(21.8778, 19.3063, 43.6397)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A72B0 #A8B072
analogous
#7289B0 #7A72B0 #9972B0
triadic
#7A72B0 #B07A72 #72B07A
tetradic
#7A72B0 #B07289 #A8B072 #72B099
square
#7A72B0 #B07289 #A8B072 #72B099
split-complementary
#7A72B0 #B09972 #89B072
monochromatic
#423C6B #5A5293 #7A72B0 #9F99C6 #C4C0DC

Accessibility & contrast

On white

4.32
#7A72B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#7A72B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A72B0
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A72B0#FFFFFF#000000##000000
##7A72B01.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#607BB2
Deuteranopia (green-blind)
#6078AE
Tritanopia (blue-blind)
#6D7D89
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7a72b0;
/* rgb */ color: rgb(122, 114, 176);
/* oklch */ color: oklch(58.5% 0.094 289.1);
Tailwind
colors: {
  custom: {
    50: '#a29ac8',
    500: '#7a72b0',
    950: '#000000',
  },
}
SCSS
$custom: #7a72b0;
$custom-light: #a29ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a72b0",
  "rgb": {
    "r": 122,
    "g": 114,
    "b": 176
  },
  "hsl": {
    "h": 247.742,
    "s": 28.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58471,
    "c": 0.09395,
    "h": 289.1
  },
  "luminance": 0.19307
}

Semantic roles & 50–950 ramp

primary
#7A72B0
secondary
#C8CCB2
accent
#C463B8
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7A72B0

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

Preview Lab → · Contrast checker → · Palette generator →

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