#7F71BF#7F71BF

#7F71BF is a mid, moderate violet. Relative luminance 0.201; OKLCH L 59.5% C 0.117 H 290.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7F71BF
RGBrgb(127, 113, 191)
HSLhsl(251, 38%, 60%)
HSVhsv(251, 41%, 75%)
CMYKcmyk(33.5%, 40.8%, 0%, 25.1%)
CIE-LABlab(51.93, 23.48, -39.10)
CIE-LCHlch(51.93, 45.61, 300.99°)
OKLaboklab(59.49% 0.0413 -0.1096)
OKLCHoklch(59.49% 0.117 290.6)
XYZxyz(24.0590, 20.0833, 51.8890)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F71BF #B1BF71
analogous
#718ABF #7F71BF #A671BF
triadic
#7F71BF #BF7F71 #71BF7F
tetradic
#7F71BF #BF718A #B1BF71 #71BFA6
square
#7F71BF #BF718A #B1BF71 #71BFA6
split-complementary
#7F71BF #BFA671 #8ABF71
monochromatic
#45387D #5C4BA7 #7F71BF #A59BD2 #CBC5E5

Accessibility & contrast

On white

4.19
#7F71BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7F71BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F71BF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F71BF#FFFFFF#000000##000000
##7F71BF1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC2
Deuteranopia (green-blind)
#5A7ABD
Tritanopia (blue-blind)
#707F8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7f71bf;
/* rgb */ color: rgb(127, 113, 191);
/* oklch */ color: oklch(59.5% 0.117 290.6);
Tailwind
colors: {
  custom: {
    50: '#a69ad2',
    500: '#7f71bf',
    950: '#000000',
  },
}
SCSS
$custom: #7f71bf;
$custom-light: #a69ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f71bf",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 250.769,
    "s": 37.864,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59487,
    "c": 0.11715,
    "h": 290.6
  },
  "luminance": 0.20084
}

Semantic roles & 50–950 ramp

primary
#7F71BF
secondary
#D0D5B7
accent
#CE5AB9
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100E14
muted
#7F7E82

Preview Lab

Preview with #7F71BF

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

Preview Lab → · Contrast checker → · Palette generator →

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