#7F73CD#7F73CD

#7F73CD is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.6% C 0.134 H 287.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7F73CD
RGBrgb(127, 115, 205)
HSLhsl(248, 47%, 63%)
HSVhsv(248, 44%, 80%)
CMYKcmyk(38%, 43.9%, 0%, 19.6%)
CIE-LABlab(53.15, 26.11, -45.18)
CIE-LCHlch(53.15, 52.18, 300.03°)
OKLaboklab(60.64% 0.041 -0.1274)
OKLCHoklch(60.64% 0.134 287.8)
XYZxyz(25.8995, 21.1805, 60.4694)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F73CD #C1CD73
analogous
#7394CD #7F73CD #AC73CD
triadic
#7F73CD #CD7F73 #73CD7F
tetradic
#7F73CD #CD7394 #C1CD73 #73CDAC
square
#7F73CD #CD7394 #C1CD73 #73CDAC
split-complementary
#7F73CD #CDAC73 #94CD73
monochromatic
#403492 #5646BD #7F73CD #A8A0DD #D1CDED

Accessibility & contrast

On white

4.01
#7F73CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#7F73CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F73CD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F73CD#FFFFFF#000000##000000
##7F73CD1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481D0
Deuteranopia (green-blind)
#537DCB
Tritanopia (blue-blind)
#6A8596
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7f73cd;
/* rgb */ color: rgb(127, 115, 205);
/* oklch */ color: oklch(60.6% 0.134 287.8);
Tailwind
colors: {
  custom: {
    50: '#a79bdd',
    500: '#7f73cd',
    950: '#000000',
  },
}
SCSS
$custom: #7f73cd;
$custom-light: #a79bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f73cd",
  "rgb": {
    "r": 127,
    "g": 115,
    "b": 205
  },
  "hsl": {
    "h": 248,
    "s": 47.368,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60642,
    "c": 0.13379,
    "h": 287.8
  },
  "luminance": 0.21181
}

Semantic roles & 50–950 ramp

primary
#7F73CD
secondary
#DADEBE
accent
#BB2BA7
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7F73CD

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

Preview Lab → · Contrast checker → · Palette generator →

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