#7F71D2#7F71D2

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

Color values

HEX#7F71D2
RGBrgb(127, 113, 210)
HSLhsl(249, 52%, 63%)
HSVhsv(249, 46%, 82%)
CMYKcmyk(39.5%, 46.2%, 0%, 17.6%)
CIE-LABlab(52.92, 28.69, -48.37)
CIE-LCHlch(52.92, 56.24, 300.67°)
OKLaboklab(60.56% 0.0443 -0.1367)
OKLCHoklch(60.56% 0.144 287.9)
XYZxyz(26.2872, 20.9746, 63.6237)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F71D2 #C4D271
analogous
#7193D2 #7F71D2 #AF71D2
triadic
#7F71D2 #D27F71 #71D27F
tetradic
#7F71D2 #D27193 #C4D271 #71D2AF
square
#7F71D2 #D27193 #C4D271 #71D2AF
split-complementary
#7F71D2 #D2AF71 #93D271
monochromatic
#3F3098 #5543C3 #7F71D2 #A99FE1 #D3CEEF

Accessibility & contrast

On white

4.04
#7F71D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F71D2#FFFFFF#000000##000000
##7F71D21.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D81D6
Deuteranopia (green-blind)
#4C7CD0
Tritanopia (blue-blind)
#688497
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7f71d2;
/* rgb */ color: rgb(127, 113, 210);
/* oklch */ color: oklch(60.6% 0.144 287.9);
Tailwind
colors: {
  custom: {
    50: '#a89ae0',
    500: '#7f71d2',
    950: '#000000',
  },
}
SCSS
$custom: #7f71d2;
$custom-light: #a89ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f71d2",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 248.66,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6056,
    "c": 0.1437,
    "h": 287.9
  },
  "luminance": 0.20975
}

Semantic roles & 50–950 ramp

primary
#7F71D2
secondary
#DCE1BE
accent
#BF26A9
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7F71D2

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

Preview Lab → · Contrast checker → · Palette generator →

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