#7F71BC#7F71BC

#7F71BC is a mid, moderate violet. Relative luminance 0.200; OKLCH L 59.3% C 0.113 H 291.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7F71BC
RGBrgb(127, 113, 188)
HSLhsl(251, 36%, 59%)
HSVhsv(251, 40%, 74%)
CMYKcmyk(32.4%, 39.9%, 0%, 26.3%)
CIE-LABlab(51.78, 22.68, -37.60)
CIE-LCHlch(51.78, 43.91, 301.09°)
OKLaboklab(59.33% 0.0407 -0.1053)
OKLCHoklch(59.33% 0.113 291.1)
XYZxyz(23.7323, 19.9526, 50.1681)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F71BC #AEBC71
analogous
#7189BC #7F71BC #A571BC
triadic
#7F71BC #BC7F71 #71BC7F
tetradic
#7F71BC #BC7189 #AEBC71 #71BCA5
square
#7F71BC #BC7189 #AEBC71 #71BCA5
split-complementary
#7F71BC #BCA571 #89BC71
monochromatic
#453979 #5D4DA3 #7F71BC #A49BD0 #CAC4E3

Accessibility & contrast

On white

4.21
#7F71BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7F71BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F71BC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F71BC#FFFFFF#000000##000000
##7F71BC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DBF
Deuteranopia (green-blind)
#5B7ABA
Tritanopia (blue-blind)
#717F8D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7f71bc;
/* rgb */ color: rgb(127, 113, 188);
/* oklch */ color: oklch(59.3% 0.113 291.1);
Tailwind
colors: {
  custom: {
    50: '#a69ad0',
    500: '#7f71bc',
    950: '#000000',
  },
}
SCSS
$custom: #7f71bc;
$custom-light: #a69ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f71bc",
  "rgb": {
    "r": 127,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 251.2,
    "s": 35.885,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59327,
    "c": 0.1129,
    "h": 291.1
  },
  "luminance": 0.19953
}

Semantic roles & 50–950 ramp

primary
#7F71BC
secondary
#CED3B6
accent
#CC5CB7
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7F71BC

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

Preview Lab → · Contrast checker → · Palette generator →

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