#7F72CD#7F72CD

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

Color values

HEX#7F72CD
RGBrgb(127, 114, 205)
HSLhsl(249, 48%, 63%)
HSVhsv(249, 44%, 80%)
CMYKcmyk(38%, 44.4%, 0%, 19.6%)
CIE-LABlab(52.90, 26.71, -45.57)
CIE-LCHlch(52.90, 52.82, 300.37°)
OKLaboklab(60.46% 0.0423 -0.1285)
OKLCHoklch(60.46% 0.135 288.2)
XYZxyz(25.7861, 20.9536, 60.4316)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F72CD #C0CD72
analogous
#7293CD #7F72CD #AC72CD
triadic
#7F72CD #CD7F72 #72CD7F
tetradic
#7F72CD #CD7293 #C0CD72 #72CDAC
square
#7F72CD #CD7293 #C0CD72 #72CDAC
split-complementary
#7F72CD #CDAC72 #93CD72
monochromatic
#413391 #5645BD #7F72CD #A89FDD #D1CCED

Accessibility & contrast

On white

4.05
#7F72CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#7F72CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F72CD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F72CD#FFFFFF#000000##000000
##7F72CD1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280D0
Deuteranopia (green-blind)
#527CCB
Tritanopia (blue-blind)
#6A8496
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7f72cd;
/* rgb */ color: rgb(127, 114, 205);
/* oklch */ color: oklch(60.5% 0.135 288.2);
Tailwind
colors: {
  custom: {
    50: '#a79add',
    500: '#7f72cd',
    950: '#000000',
  },
}
SCSS
$custom: #7f72cd;
$custom-light: #a79add;
$custom-dark: #000000;
JSON
{
  "hex": "#7f72cd",
  "rgb": {
    "r": 127,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 248.571,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60455,
    "c": 0.13529,
    "h": 288.2
  },
  "luminance": 0.20954
}

Semantic roles & 50–950 ramp

primary
#7F72CD
secondary
#D9DEBD
accent
#BB2BA6
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7F72CD

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

Preview Lab → · Contrast checker → · Palette generator →

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