#7F72CF#7F72CF

#7F72CF is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.6% C 0.138 H 288.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7F72CF
RGBrgb(127, 114, 207)
HSLhsl(248, 49%, 63%)
HSVhsv(248, 45%, 81%)
CMYKcmyk(38.6%, 44.9%, 0%, 18.8%)
CIE-LABlab(53.01, 27.26, -46.54)
CIE-LCHlch(53.01, 53.93, 300.36°)
OKLaboklab(60.57% 0.0426 -0.1313)
OKLCHoklch(60.57% 0.138 288)
XYZxyz(26.0291, 21.0508, 61.7112)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F72CF #C2CF72
analogous
#7293CF #7F72CF #AD72CF
triadic
#7F72CF #CF7F72 #72CF7F
tetradic
#7F72CF #CF7293 #C2CF72 #72CFAD
square
#7F72CF #CF7293 #C2CF72 #72CFAD
split-complementary
#7F72CF #CFAD72 #93CF72
monochromatic
#403294 #5644BF #7F72CF #A8A0DF #D2CDEE

Accessibility & contrast

On white

4.03
#7F72CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#7F72CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F72CF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F72CF#FFFFFF#000000##000000
##7F72CF1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5181D2
Deuteranopia (green-blind)
#507CCD
Tritanopia (blue-blind)
#698496
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7f72cf;
/* rgb */ color: rgb(127, 114, 207);
/* oklch */ color: oklch(60.6% 0.138 288.0);
Tailwind
colors: {
  custom: {
    50: '#a89ade',
    500: '#7f72cf',
    950: '#000000',
  },
}
SCSS
$custom: #7f72cf;
$custom-light: #a89ade;
$custom-dark: #000000;
JSON
{
  "hex": "#7f72cf",
  "rgb": {
    "r": 127,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 248.387,
    "s": 49.206,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6057,
    "c": 0.13807,
    "h": 288
  },
  "luminance": 0.21052
}

Semantic roles & 50–950 ramp

primary
#7F72CF
secondary
#DADFBE
accent
#BD29A8
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7F72CF

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

Preview Lab → · Contrast checker → · Palette generator →

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