#7A72CD#7A72CD

#7A72CD is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.0% C 0.136 H 285.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7A72CD
RGBrgb(122, 114, 205)
HSLhsl(245, 48%, 63%)
HSVhsv(245, 44%, 80%)
CMYKcmyk(40.5%, 44.4%, 0%, 19.6%)
CIE-LABlab(52.49, 25.42, -46.25)
CIE-LCHlch(52.49, 52.77, 298.79°)
OKLaboklab(60.04% 0.0364 -0.1306)
OKLCHoklch(60.04% 0.136 285.6)
XYZxyz(25.0597, 20.5791, 60.3976)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A72CD #C5CD72
analogous
#7297CD #7A72CD #A872CD
triadic
#7A72CD #CD7A72 #72CD7A
tetradic
#7A72CD #CD7297 #C5CD72 #72CDA8
square
#7A72CD #CD7297 #C5CD72 #72CDA8
split-complementary
#7A72CD #CDA872 #97CD72
monochromatic
#3C3391 #4F45BD #7A72CD #A59FDD #CFCCED

Accessibility & contrast

On white

4.10
#7A72CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7A72CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A72CD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A72CD#FFFFFF#000000##000000
##7A72CD1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180D0
Deuteranopia (green-blind)
#4E7BCB
Tritanopia (blue-blind)
#628496
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7a72cd;
/* rgb */ color: rgb(122, 114, 205);
/* oklch */ color: oklch(60.0% 0.136 285.6);
Tailwind
colors: {
  custom: {
    50: '#a49add',
    500: '#7a72cd',
    950: '#000000',
  },
}
SCSS
$custom: #7a72cd;
$custom-light: #a49add;
$custom-dark: #000000;
JSON
{
  "hex": "#7a72cd",
  "rgb": {
    "r": 122,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 245.275,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60041,
    "c": 0.13559,
    "h": 285.6
  },
  "luminance": 0.2058
}

Semantic roles & 50–950 ramp

primary
#7A72CD
secondary
#DBDEBD
accent
#BB2BAE
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7A72CD

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

Preview Lab → · Contrast checker → · Palette generator →

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