#7F72CE#7F72CE

#7F72CE is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.5% C 0.137 H 288.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7F72CE
RGBrgb(127, 114, 206)
HSLhsl(248, 48%, 63%)
HSVhsv(248, 45%, 81%)
CMYKcmyk(38.3%, 44.7%, 0%, 19.2%)
CIE-LABlab(52.95, 26.98, -46.05)
CIE-LCHlch(52.95, 53.38, 300.37°)
OKLaboklab(60.51% 0.0424 -0.1299)
OKLCHoklch(60.51% 0.137 288.1)
XYZxyz(25.9072, 21.0021, 61.0694)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F72CE #C1CE72
analogous
#7293CE #7F72CE #AD72CE
triadic
#7F72CE #CE7F72 #72CE7F
tetradic
#7F72CE #CE7293 #C1CE72 #72CEAD
square
#7F72CE #CE7293 #C1CE72 #72CEAD
split-complementary
#7F72CE #CEAD72 #93CE72
monochromatic
#403393 #5645BE #7F72CE #A89FDE #D1CDEE

Accessibility & contrast

On white

4.04
#7F72CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#7F72CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F72CE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F72CE#FFFFFF#000000##000000
##7F72CE1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5181D1
Deuteranopia (green-blind)
#517CCC
Tritanopia (blue-blind)
#6A8496
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7f72ce;
/* rgb */ color: rgb(127, 114, 206);
/* oklch */ color: oklch(60.5% 0.137 288.1);
Tailwind
colors: {
  custom: {
    50: '#a79add',
    500: '#7f72ce',
    950: '#000000',
  },
}
SCSS
$custom: #7f72ce;
$custom-light: #a79add;
$custom-dark: #000000;
JSON
{
  "hex": "#7f72ce",
  "rgb": {
    "r": 127,
    "g": 114,
    "b": 206
  },
  "hsl": {
    "h": 248.478,
    "s": 48.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60512,
    "c": 0.13668,
    "h": 288.1
  },
  "luminance": 0.21003
}

Semantic roles & 50–950 ramp

primary
#7F72CE
secondary
#DADFBD
accent
#BC2AA7
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7F72CE

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

Preview Lab → · Contrast checker → · Palette generator →

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