#7D72E8#7D72E8

#7D72E8 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.9% C 0.172 H 284.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7D72E8
RGBrgb(125, 114, 232)
HSLhsl(246, 72%, 68%)
HSVhsv(246, 51%, 91%)
CMYKcmyk(46.1%, 50.9%, 0%, 9%)
CIE-LABlab(54.26, 33.91, -58.65)
CIE-LCHlch(54.26, 67.74, 300.03°)
OKLaboklab(61.93% 0.0429 -0.1669)
OKLCHoklch(61.93% 0.172 284.4)
XYZxyz(29.0360, 22.2195, 79.0871)
Luminance0.2222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D72E8 #DDE872
analogous
#72A2E8 #7D72E8 #B872E8
triadic
#7D72E8 #E87D72 #72E87D
tetradic
#7D72E8 #E872A2 #DDE872 #72E8B8
square
#7D72E8 #E872A2 #DDE872 #72E8B8
split-complementary
#7D72E8 #E8B872 #A2E872
monochromatic
#2E1FC0 #4C3DDF #7D72E8 #AEA7F1 #DEDBF9

Accessibility & contrast

On white

3.86
#7D72E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7D72E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D72E8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D72E8#FFFFFF#000000##000000
##7D72E81.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B85EC
Deuteranopia (green-blind)
#357EE5
Tritanopia (blue-blind)
#598BA2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7d72e8;
/* rgb */ color: rgb(125, 114, 232);
/* oklch */ color: oklch(61.9% 0.172 284.4);
Tailwind
colors: {
  custom: {
    50: '#a99af0',
    500: '#7d72e8',
    950: '#000000',
  },
}
SCSS
$custom: #7d72e8;
$custom-light: #a99af0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d72e8",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 232
  },
  "hsl": {
    "h": 245.593,
    "s": 71.951,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61931,
    "c": 0.1723,
    "h": 284.4
  },
  "luminance": 0.22221
}

Semantic roles & 50–950 ramp

primary
#7D72E8
secondary
#EAEDC9
accent
#D411C2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7D72E8

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

Preview Lab → · Contrast checker → · Palette generator →

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