#7D72E2#7D72E2

#7D72E2 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.6% C 0.164 H 285.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7D72E2
RGBrgb(125, 114, 226)
HSLhsl(246, 66%, 67%)
HSVhsv(246, 50%, 89%)
CMYKcmyk(44.7%, 49.6%, 0%, 11.4%)
CIE-LABlab(53.90, 32.16, -55.85)
CIE-LCHlch(53.90, 64.45, 299.94°)
OKLaboklab(61.55% 0.0424 -0.1587)
OKLCHoklch(61.55% 0.164 285)
XYZxyz(28.1982, 21.8844, 74.6751)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D72E2 #D7E272
analogous
#729FE2 #7D72E2 #B572E2
triadic
#7D72E2 #E27D72 #72E27D
tetradic
#7D72E2 #E2729F #D7E272 #72E2B5
square
#7D72E2 #E2729F #D7E272 #72E2B5
split-complementary
#7D72E2 #E2B572 #9FE272
monochromatic
#3325B4 #4E3FD8 #7D72E2 #ACA5EC #DBD8F7

Accessibility & contrast

On white

3.91
#7D72E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#7D72E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D72E2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D72E2#FFFFFF#000000##000000
##7D72E21.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4184E6
Deuteranopia (green-blind)
#3D7DE0
Tritanopia (blue-blind)
#5D8A9F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7d72e2;
/* rgb */ color: rgb(125, 114, 226);
/* oklch */ color: oklch(61.6% 0.164 285.0);
Tailwind
colors: {
  custom: {
    50: '#a89aec',
    500: '#7d72e2',
    950: '#000000',
  },
}
SCSS
$custom: #7d72e2;
$custom-light: #a89aec;
$custom-dark: #000000;
JSON
{
  "hex": "#7d72e2",
  "rgb": {
    "r": 125,
    "g": 114,
    "b": 226
  },
  "hsl": {
    "h": 245.893,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.61551,
    "c": 0.16424,
    "h": 285
  },
  "luminance": 0.21886
}

Semantic roles & 50–950 ramp

primary
#7D72E2
secondary
#E6EAC6
accent
#CE18BC
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7D72E2

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

Preview Lab → · Contrast checker → · Palette generator →

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