#7F72EB#7F72EB

#7F72EB is a light, vivid blue. Relative luminance 0.225; OKLCH L 62.3% C 0.176 H 284.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7F72EB
RGBrgb(127, 114, 235)
HSLhsl(246, 75%, 68%)
HSVhsv(246, 51%, 92%)
CMYKcmyk(46%, 51.5%, 0%, 7.8%)
CIE-LABlab(54.60, 35.22, -59.77)
CIE-LCHlch(54.60, 69.37, 300.51°)
OKLaboklab(62.28% 0.0454 -0.1701)
OKLCHoklch(62.28% 0.176 284.9)
XYZxyz(29.7607, 22.5435, 81.3644)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F72EB #DEEB72
analogous
#72A1EB #7F72EB #BB72EB
triadic
#7F72EB #EB7F72 #72EB7F
tetradic
#7F72EB #EB72A1 #DEEB72 #72EBBB
square
#7F72EB #EB72A1 #DEEB72 #72EBBB
split-complementary
#7F72EB #EBBB72 #A1EB72
monochromatic
#2E1CC6 #4E3CE3 #7F72EB #B0A8F3 #E0DDFA

Accessibility & contrast

On white

3.81
#7F72EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#7F72EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F72EB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F72EB#FFFFFF#000000##000000
##7F72EB1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EF
Deuteranopia (green-blind)
#337FE8
Tritanopia (blue-blind)
#5B8CA4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7f72eb;
/* rgb */ color: rgb(127, 114, 235);
/* oklch */ color: oklch(62.3% 0.176 284.9);
Tailwind
colors: {
  custom: {
    50: '#aa9bf2',
    500: '#7f72eb',
    950: '#000000',
  },
}
SCSS
$custom: #7f72eb;
$custom-light: #aa9bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f72eb",
  "rgb": {
    "r": 127,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 246.446,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.62283,
    "c": 0.17609,
    "h": 284.9
  },
  "luminance": 0.22545
}

Semantic roles & 50–950 ramp

primary
#7F72EB
secondary
#EBEFCA
accent
#D70EC2
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #7F72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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