#7F73CF#7F73CF

#7F73CF is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.8% C 0.137 H 287.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7F73CF
RGBrgb(127, 115, 207)
HSLhsl(248, 49%, 63%)
HSVhsv(248, 44%, 81%)
CMYKcmyk(38.6%, 44.4%, 0%, 18.8%)
CIE-LABlab(53.25, 26.67, -46.15)
CIE-LCHlch(53.25, 53.30, 300.02°)
OKLaboklab(60.76% 0.0413 -0.1302)
OKLCHoklch(60.76% 0.137 287.6)
XYZxyz(26.1425, 21.2777, 61.7490)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F73CF #C3CF73
analogous
#7395CF #7F73CF #AD73CF
triadic
#7F73CF #CF7F73 #73CF7F
tetradic
#7F73CF #CF7395 #C3CF73 #73CFAD
square
#7F73CF #CF7395 #C3CF73 #73CFAD
split-complementary
#7F73CF #CFAD73 #95CF73
monochromatic
#403395 #5545BF #7F73CF #A9A1DF #D2CEEE

Accessibility & contrast

On white

4.00
#7F73CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#7F73CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F73CF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F73CF#FFFFFF#000000##000000
##7F73CF1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D2
Deuteranopia (green-blind)
#517DCD
Tritanopia (blue-blind)
#698597
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7f73cf;
/* rgb */ color: rgb(127, 115, 207);
/* oklch */ color: oklch(60.8% 0.137 287.6);
Tailwind
colors: {
  custom: {
    50: '#a79bde',
    500: '#7f73cf',
    950: '#000000',
  },
}
SCSS
$custom: #7f73cf;
$custom-light: #a79bde;
$custom-dark: #000000;
JSON
{
  "hex": "#7f73cf",
  "rgb": {
    "r": 127,
    "g": 115,
    "b": 207
  },
  "hsl": {
    "h": 247.826,
    "s": 48.936,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60757,
    "c": 0.13658,
    "h": 287.6
  },
  "luminance": 0.21278
}

Semantic roles & 50–950 ramp

primary
#7F73CF
secondary
#DBDFBE
accent
#BC29A9
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7F73CF

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

Preview Lab → · Contrast checker → · Palette generator →

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