#7E71BF#7E71BF

#7E71BF is a mid, moderate violet. Relative luminance 0.200; OKLCH L 59.4% C 0.117 H 290.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7E71BF
RGBrgb(126, 113, 191)
HSLhsl(250, 38%, 60%)
HSVhsv(250, 41%, 75%)
CMYKcmyk(34%, 40.8%, 0%, 25.1%)
CIE-LABlab(51.84, 23.20, -39.24)
CIE-LCHlch(51.84, 45.58, 300.60°)
OKLaboklab(59.4% 0.0401 -0.1101)
OKLCHoklch(59.4% 0.117 290)
XYZxyz(23.9108, 20.0069, 51.8820)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E71BF #B2BF71
analogous
#718BBF #7E71BF #A571BF
triadic
#7E71BF #BF7E71 #71BF7E
tetradic
#7E71BF #BF718B #B2BF71 #71BFA5
square
#7E71BF #BF718B #B2BF71 #71BFA5
split-complementary
#7E71BF #BFA571 #8BBF71
monochromatic
#44387D #5B4BA7 #7E71BF #A49BD2 #CBC5E5

Accessibility & contrast

On white

4.20
#7E71BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7E71BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E71BF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E71BF#FFFFFF#000000##000000
##7E71BF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC2
Deuteranopia (green-blind)
#597ABD
Tritanopia (blue-blind)
#6E808F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e71bf;
/* rgb */ color: rgb(126, 113, 191);
/* oklch */ color: oklch(59.4% 0.117 290.0);
Tailwind
colors: {
  custom: {
    50: '#a69ad2',
    500: '#7e71bf',
    950: '#000000',
  },
}
SCSS
$custom: #7e71bf;
$custom-light: #a69ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e71bf",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 250,
    "s": 37.864,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59401,
    "c": 0.11714,
    "h": 290
  },
  "luminance": 0.20007
}

Semantic roles & 50–950 ramp

primary
#7E71BF
secondary
#D0D5B7
accent
#CE5ABB
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7E71BF

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

Preview Lab → · Contrast checker → · Palette generator →

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