#7A72CA#7A72CA

#7A72CA is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.9% C 0.131 H 285.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7A72CA
RGBrgb(122, 114, 202)
HSLhsl(245, 45%, 62%)
HSVhsv(245, 44%, 79%)
CMYKcmyk(39.6%, 43.6%, 0%, 20.8%)
CIE-LABlab(52.33, 24.57, -44.79)
CIE-LCHlch(52.33, 51.09, 298.74°)
OKLaboklab(59.87% 0.0359 -0.1264)
OKLCHoklch(59.87% 0.131 285.9)
XYZxyz(24.7010, 20.4356, 58.5087)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A72CA #C2CA72
analogous
#7296CA #7A72CA #A672CA
triadic
#7A72CA #CA7A72 #72CA7A
tetradic
#7A72CA #CA7296 #C2CA72 #72CAA6
square
#7A72CA #CA7296 #C2CA72 #72CAA6
split-complementary
#7A72CA #CAA672 #96CA72
monochromatic
#3D358D #5046B9 #7A72CA #A49EDB #CECBEB

Accessibility & contrast

On white

4.13
#7A72CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7A72CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A72CA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A72CA#FFFFFF#000000##000000
##7A72CA1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#537FCD
Deuteranopia (green-blind)
#517AC8
Tritanopia (blue-blind)
#638394
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7a72ca;
/* rgb */ color: rgb(122, 114, 202);
/* oklch */ color: oklch(59.9% 0.131 285.9);
Tailwind
colors: {
  custom: {
    50: '#a49ada',
    500: '#7a72ca',
    950: '#000000',
  },
}
SCSS
$custom: #7a72ca;
$custom-light: #a49ada;
$custom-dark: #000000;
JSON
{
  "hex": "#7a72ca",
  "rgb": {
    "r": 122,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 245.455,
    "s": 45.361,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59868,
    "c": 0.13136,
    "h": 285.9
  },
  "luminance": 0.20436
}

Semantic roles & 50–950 ramp

primary
#7A72CA
secondary
#D9DCBC
accent
#B92DAC
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7A72CA

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

Preview Lab → · Contrast checker → · Palette generator →

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