#7C72CD#7C72CD

#7C72CD is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.2% C 0.135 H 286.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7C72CD
RGBrgb(124, 114, 205)
HSLhsl(247, 48%, 63%)
HSVhsv(247, 44%, 80%)
CMYKcmyk(39.5%, 44.4%, 0%, 19.6%)
CIE-LABlab(52.65, 25.93, -45.98)
CIE-LCHlch(52.65, 52.79, 299.42°)
OKLaboklab(60.21% 0.0387 -0.1298)
OKLCHoklch(60.21% 0.135 286.6)
XYZxyz(25.3459, 20.7266, 60.4110)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C72CD #C3CD72
analogous
#7296CD #7C72CD #A972CD
triadic
#7C72CD #CD7C72 #72CD7C
tetradic
#7C72CD #CD7296 #C3CD72 #72CDA9
square
#7C72CD #CD7296 #C3CD72 #72CDA9
split-complementary
#7C72CD #CDA972 #96CD72
monochromatic
#3E3391 #5245BD #7C72CD #A69FDD #D0CCED

Accessibility & contrast

On white

4.08
#7C72CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#7C72CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C72CD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C72CD#FFFFFF#000000##000000
##7C72CD1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180D0
Deuteranopia (green-blind)
#507BCB
Tritanopia (blue-blind)
#658496
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7c72cd;
/* rgb */ color: rgb(124, 114, 205);
/* oklch */ color: oklch(60.2% 0.135 286.6);
Tailwind
colors: {
  custom: {
    50: '#a59add',
    500: '#7c72cd',
    950: '#000000',
  },
}
SCSS
$custom: #7c72cd;
$custom-light: #a59add;
$custom-dark: #000000;
JSON
{
  "hex": "#7c72cd",
  "rgb": {
    "r": 124,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 246.593,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60205,
    "c": 0.13544,
    "h": 286.6
  },
  "luminance": 0.20727
}

Semantic roles & 50–950 ramp

primary
#7C72CD
secondary
#DADEBD
accent
#BB2BAB
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7C72CD

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

Preview Lab → · Contrast checker → · Palette generator →

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