#7D72E5#7D72E5

#7D72E5 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.7% C 0.168 H 284.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7D72E5
RGBrgb(125, 114, 229)
HSLhsl(246, 69%, 67%)
HSVhsv(246, 50%, 90%)
CMYKcmyk(45.4%, 50.2%, 0%, 10.2%)
CIE-LABlab(54.08, 33.03, -57.25)
CIE-LCHlch(54.08, 66.10, 299.98°)
OKLaboklab(61.74% 0.0426 -0.1628)
OKLCHoklch(61.74% 0.168 284.7)
XYZxyz(28.6135, 22.0505, 76.8621)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D72E5 #DAE572
analogous
#72A1E5 #7D72E5 #B672E5
triadic
#7D72E5 #E57D72 #72E57D
tetradic
#7D72E5 #E572A1 #DAE572 #72E5B6
square
#7D72E5 #E572A1 #DAE572 #72E5B6
split-complementary
#7D72E5 #E5B672 #A1E572
monochromatic
#3122BA #4D3EDB #7D72E5 #ADA6EF #DCD9F8

Accessibility & contrast

On white

3.88
#7D72E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7D72E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D72E5
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D72E5#FFFFFF#000000##000000
##7D72E51.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E85E9
Deuteranopia (green-blind)
#397EE2
Tritanopia (blue-blind)
#5B8BA1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7d72e5;
/* rgb */ color: rgb(125, 114, 229);
/* oklch */ color: oklch(61.7% 0.168 284.7);
Tailwind
colors: {
  custom: {
    50: '#a89aee',
    500: '#7d72e5',
    950: '#000000',
  },
}
SCSS
$custom: #7d72e5;
$custom-light: #a89aee;
$custom-dark: #000000;
JSON
{
  "hex": "#7d72e5",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 229
  },
  "hsl": {
    "h": 245.739,
    "s": 68.862,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6174,
    "c": 0.16828,
    "h": 284.7
  },
  "luminance": 0.22052
}

Semantic roles & 50–950 ramp

primary
#7D72E5
secondary
#E8ECC7
accent
#D115BF
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7D72E5

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

Preview Lab → · Contrast checker → · Palette generator →

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