#7E72DD#7E72DD

#7E72DD is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.3% C 0.157 H 285.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7E72DD
RGBrgb(126, 114, 221)
HSLhsl(247, 61%, 66%)
HSVhsv(247, 48%, 87%)
CMYKcmyk(43%, 48.4%, 0%, 13.3%)
CIE-LABlab(53.70, 30.96, -53.37)
CIE-LCHlch(53.70, 61.70, 300.12°)
OKLaboklab(61.32% 0.0431 -0.1514)
OKLCHoklch(61.32% 0.157 285.9)
XYZxyz(27.6689, 21.6896, 71.1212)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E72DD #D1DD72
analogous
#729BDD #7E72DD #B372DD
triadic
#7E72DD #DD7E72 #72DD7E
tetradic
#7E72DD #DD729B #D1DD72 #72DDB3
square
#7E72DD #DD729B #D1DD72 #72DDB3
split-complementary
#7E72DD #DDB372 #9BDD72
monochromatic
#3829AB #5141D1 #7E72DD #ABA3E9 #D8D5F5

Accessibility & contrast

On white

3.93
#7E72DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#7E72DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E72DD
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E72DD#FFFFFF#000000##000000
##7E72DD1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E1
Deuteranopia (green-blind)
#437DDB
Tritanopia (blue-blind)
#61889D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7e72dd;
/* rgb */ color: rgb(126, 114, 221);
/* oklch */ color: oklch(61.3% 0.157 285.9);
Tailwind
colors: {
  custom: {
    50: '#a89ae8',
    500: '#7e72dd',
    950: '#000000',
  },
}
SCSS
$custom: #7e72dd;
$custom-light: #a89ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e72dd",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 246.729,
    "s": 61.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61321,
    "c": 0.15738,
    "h": 285.9
  },
  "luminance": 0.21691
}

Semantic roles & 50–950 ramp

primary
#7E72DD
secondary
#E3E7C4
accent
#C91DB6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7E72DD

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

Preview Lab → · Contrast checker → · Palette generator →

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