#7F72EC#7F72EC

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

Color values

HEX#7F72EC
RGBrgb(127, 114, 236)
HSLhsl(246, 76%, 69%)
HSVhsv(246, 52%, 93%)
CMYKcmyk(46.2%, 51.7%, 0%, 7.5%)
CIE-LABlab(54.66, 35.51, -60.23)
CIE-LCHlch(54.66, 69.92, 300.52°)
OKLaboklab(62.35% 0.0455 -0.1715)
OKLCHoklch(62.35% 0.177 284.9)
XYZxyz(29.9056, 22.6014, 82.1274)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F72EC #DFEC72
analogous
#72A2EC #7F72EC #BC72EC
triadic
#7F72EC #EC7F72 #72EC7F
tetradic
#7F72EC #EC72A2 #DFEC72 #72ECBC
square
#7F72EC #EC72A2 #DFEC72 #72ECBC
split-complementary
#7F72EC #ECBC72 #A2EC72
monochromatic
#2E1BC9 #4E3CE5 #7F72EC #B0A8F3 #E1DEFB

Accessibility & contrast

On white

3.80
#7F72EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#7F72EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F72EC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F72EC#FFFFFF#000000##000000
##7F72EC1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786F0
Deuteranopia (green-blind)
#327FE9
Tritanopia (blue-blind)
#5B8CA4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7f72ec;
/* rgb */ color: rgb(127, 114, 236);
/* oklch */ color: oklch(62.3% 0.177 284.9);
Tailwind
colors: {
  custom: {
    50: '#aa9bf3',
    500: '#7f72ec',
    950: '#000000',
  },
}
SCSS
$custom: #7f72ec;
$custom-light: #aa9bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f72ec",
  "rgb": {
    "r": 127,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 246.393,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.62347,
    "c": 0.17742,
    "h": 284.9
  },
  "luminance": 0.22603
}

Semantic roles & 50–950 ramp

primary
#7F72EC
secondary
#EBEFCB
accent
#D80DC3
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #7F72EC

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

Preview Lab → · Contrast checker → · Palette generator →

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