#7F71DD#7F71DD

#7F71DD is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.2% C 0.159 H 286.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7F71DD
RGBrgb(127, 113, 221)
HSLhsl(248, 61%, 65%)
HSVhsv(248, 49%, 87%)
CMYKcmyk(42.5%, 48.9%, 0%, 13.3%)
CIE-LABlab(53.54, 31.79, -53.61)
CIE-LCHlch(53.54, 62.33, 300.67°)
OKLaboklab(61.22% 0.0455 -0.1521)
OKLCHoklch(61.22% 0.159 286.7)
XYZxyz(27.7050, 21.5417, 71.0908)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F71DD #CFDD71
analogous
#7199DD #7F71DD #B571DD
triadic
#7F71DD #DD7F71 #71DD7F
tetradic
#7F71DD #DD7199 #CFDD71 #71DDB5
square
#7F71DD #DD7199 #CFDD71 #71DDB5
split-complementary
#7F71DD #DDB571 #99DD71
monochromatic
#3A29AB #5240D1 #7F71DD #ACA2E9 #D8D4F5

Accessibility & contrast

On white

3.96
#7F71DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7F71DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F71DD
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F71DD#FFFFFF#000000##000000
##7F71DD1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4483E1
Deuteranopia (green-blind)
#427DDB
Tritanopia (blue-blind)
#63879D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7f71dd;
/* rgb */ color: rgb(127, 113, 221);
/* oklch */ color: oklch(61.2% 0.159 286.7);
Tailwind
colors: {
  custom: {
    50: '#a99ae8',
    500: '#7f71dd',
    950: '#000000',
  },
}
SCSS
$custom: #7f71dd;
$custom-light: #a99ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f71dd",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 247.778,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61222,
    "c": 0.15873,
    "h": 286.7
  },
  "luminance": 0.21543
}

Semantic roles & 50–950 ramp

primary
#7F71DD
secondary
#E2E7C3
accent
#C91CB3
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7F71DD

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

Preview Lab → · Contrast checker → · Palette generator →

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