#7F71CD#7F71CD

#7F71CD is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.3% C 0.137 H 288.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7F71CD
RGBrgb(127, 113, 205)
HSLhsl(249, 48%, 62%)
HSVhsv(249, 45%, 80%)
CMYKcmyk(38%, 44.9%, 0%, 19.6%)
CIE-LABlab(52.65, 27.30, -45.96)
CIE-LCHlch(52.65, 53.46, 300.71°)
OKLaboklab(60.27% 0.0436 -0.1296)
OKLCHoklch(60.27% 0.137 288.6)
XYZxyz(25.6740, 20.7293, 60.3942)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F71CD #BFCD71
analogous
#7191CD #7F71CD #AD71CD
triadic
#7F71CD #CD7F71 #71CD7F
tetradic
#7F71CD #CD7191 #BFCD71 #71CDAD
square
#7F71CD #CD7191 #BFCD71 #71CDAD
split-complementary
#7F71CD #CDAD71 #91CD71
monochromatic
#413391 #5644BD #7F71CD #A89EDD #D1CCED

Accessibility & contrast

On white

4.08
#7F71CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#7F71CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F71CD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F71CD#FFFFFF#000000##000000
##7F71CD1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D0
Deuteranopia (green-blind)
#507BCB
Tritanopia (blue-blind)
#6A8395
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7f71cd;
/* rgb */ color: rgb(127, 113, 205);
/* oklch */ color: oklch(60.3% 0.137 288.6);
Tailwind
colors: {
  custom: {
    50: '#a79add',
    500: '#7f71cd',
    950: '#000000',
  },
}
SCSS
$custom: #7f71cd;
$custom-light: #a79add;
$custom-dark: #000000;
JSON
{
  "hex": "#7f71cd",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 249.13,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60268,
    "c": 0.13678,
    "h": 288.6
  },
  "luminance": 0.2073
}

Semantic roles & 50–950 ramp

primary
#7F71CD
secondary
#D9DEBC
accent
#BB2AA5
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7F71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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