#7E72DF#7E72DF

#7E72DF is a mid, vivid blue. Relative luminance 0.218; OKLCH L 61.4% C 0.160 H 285.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7E72DF
RGBrgb(126, 114, 223)
HSLhsl(247, 63%, 66%)
HSVhsv(247, 49%, 87%)
CMYKcmyk(43.5%, 48.9%, 0%, 12.5%)
CIE-LABlab(53.81, 31.53, -54.31)
CIE-LCHlch(53.81, 62.80, 300.14°)
OKLaboklab(61.45% 0.0433 -0.1541)
OKLCHoklch(61.45% 0.16 285.7)
XYZxyz(27.9369, 21.7968, 72.5329)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E72DF #D3DF72
analogous
#729CDF #7E72DF #B472DF
triadic
#7E72DF #DF7E72 #72DF7E
tetradic
#7E72DF #DF729C #D3DF72 #72DFB4
square
#7E72DF #DF729C #D3DF72 #72DFB4
split-complementary
#7E72DF #DFB472 #9CDF72
monochromatic
#3728AF #5040D4 #7E72DF #ACA4EA #D9D6F6

Accessibility & contrast

On white

3.92
#7E72DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#7E72DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E72DF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E72DF#FFFFFF#000000##000000
##7E72DF1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4484E3
Deuteranopia (green-blind)
#417DDD
Tritanopia (blue-blind)
#60899E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7e72df;
/* rgb */ color: rgb(126, 114, 223);
/* oklch */ color: oklch(61.4% 0.160 285.7);
Tailwind
colors: {
  custom: {
    50: '#a89ae9',
    500: '#7e72df',
    950: '#000000',
  },
}
SCSS
$custom: #7e72df;
$custom-light: #a89ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e72df",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 246.606,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61445,
    "c": 0.16008,
    "h": 285.7
  },
  "luminance": 0.21798
}

Semantic roles & 50–950 ramp

primary
#7E72DF
secondary
#E4E8C4
accent
#CB1BB7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7E72DF

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

Preview Lab → · Contrast checker → · Palette generator →

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