#7D72E4#7D72E4

#7D72E4 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.7% C 0.167 H 284.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7D72E4
RGBrgb(125, 114, 228)
HSLhsl(246, 68%, 67%)
HSVhsv(246, 50%, 89%)
CMYKcmyk(45.2%, 50%, 0%, 10.6%)
CIE-LABlab(54.02, 32.74, -56.78)
CIE-LCHlch(54.02, 65.55, 299.97°)
OKLaboklab(61.68% 0.0426 -0.1614)
OKLCHoklch(61.68% 0.167 284.8)
XYZxyz(28.4743, 21.9948, 76.1288)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D72E4 #D9E472
analogous
#72A0E4 #7D72E4 #B672E4
triadic
#7D72E4 #E47D72 #72E47D
tetradic
#7D72E4 #E472A0 #D9E472 #72E4B6
square
#7D72E4 #E472A0 #D9E472 #72E4B6
split-complementary
#7D72E4 #E4B672 #A0E472
monochromatic
#3223B8 #4E3FDA #7D72E4 #ACA5EE #DCD9F8

Accessibility & contrast

On white

3.89
#7D72E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#7D72E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D72E4
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D72E4#FFFFFF#000000##000000
##7D72E41.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F85E8
Deuteranopia (green-blind)
#3B7EE1
Tritanopia (blue-blind)
#5C8AA0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7d72e4;
/* rgb */ color: rgb(125, 114, 228);
/* oklch */ color: oklch(61.7% 0.167 284.8);
Tailwind
colors: {
  custom: {
    50: '#a89aed',
    500: '#7d72e4',
    950: '#000000',
  },
}
SCSS
$custom: #7d72e4;
$custom-light: #a89aed;
$custom-dark: #000000;
JSON
{
  "hex": "#7d72e4",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 228
  },
  "hsl": {
    "h": 245.789,
    "s": 67.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61677,
    "c": 0.16693,
    "h": 284.8
  },
  "luminance": 0.21996
}

Semantic roles & 50–950 ramp

primary
#7D72E4
secondary
#E8EBC7
accent
#D016BE
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7D72E4

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

Preview Lab → · Contrast checker → · Palette generator →

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