#7F71BB#7F71BB

#7F71BB is a mid, moderate violet. Relative luminance 0.199; OKLCH L 59.3% C 0.111 H 291.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7F71BB
RGBrgb(127, 113, 187)
HSLhsl(251, 35%, 59%)
HSVhsv(251, 40%, 73%)
CMYKcmyk(32.1%, 39.6%, 0%, 26.7%)
CIE-LABlab(51.73, 22.41, -37.11)
CIE-LCHlch(51.73, 43.35, 301.13°)
OKLaboklab(59.27% 0.0405 -0.1039)
OKLCHoklch(59.27% 0.111 291.3)
XYZxyz(23.6249, 19.9097, 49.6023)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F71BB #ADBB71
analogous
#7188BB #7F71BB #A471BB
triadic
#7F71BB #BB7F71 #71BB7F
tetradic
#7F71BB #BB7188 #ADBB71 #71BBA4
square
#7F71BB #BB7188 #ADBB71 #71BBA4
split-complementary
#7F71BB #BBA471 #88BB71
monochromatic
#453A78 #5D4DA1 #7F71BB #A49ACF #CAC4E3

Accessibility & contrast

On white

4.22
#7F71BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7F71BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F71BB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F71BB#FFFFFF#000000##000000
##7F71BB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DBE
Deuteranopia (green-blind)
#5C7AB9
Tritanopia (blue-blind)
#717E8D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7f71bb;
/* rgb */ color: rgb(127, 113, 187);
/* oklch */ color: oklch(59.3% 0.111 291.3);
Tailwind
colors: {
  custom: {
    50: '#a69ad0',
    500: '#7f71bb',
    950: '#000000',
  },
}
SCSS
$custom: #7f71bb;
$custom-light: #a69ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f71bb",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 251.351,
    "s": 35.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59274,
    "c": 0.11147,
    "h": 291.3
  },
  "luminance": 0.1991
}

Semantic roles & 50–950 ramp

primary
#7F71BB
secondary
#CDD2B5
accent
#CB5DB6
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7F71BB

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

Preview Lab → · Contrast checker → · Palette generator →

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