#7E71BE#7E71BE

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

Color values

HEX#7E71BE
RGBrgb(126, 113, 190)
HSLhsl(250, 37%, 59%)
HSVhsv(250, 41%, 75%)
CMYKcmyk(33.7%, 40.5%, 0%, 25.5%)
CIE-LABlab(51.80, 22.93, -38.74)
CIE-LCHlch(51.80, 45.02, 300.62°)
OKLaboklab(59.35% 0.0399 -0.1086)
OKLCHoklch(59.35% 0.116 290.2)
XYZxyz(23.8011, 19.9630, 51.3045)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E71BE #B1BE71
analogous
#718BBE #7E71BE #A571BE
triadic
#7E71BE #BE7E71 #71BE7E
tetradic
#7E71BE #BE718B #B1BE71 #71BEA5
square
#7E71BE #BE718B #B1BE71 #71BEA5
split-complementary
#7E71BE #BEA571 #8BBE71
monochromatic
#44397C #5B4CA6 #7E71BE #A49BD1 #CAC5E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E71BE#FFFFFF#000000##000000
##7E71BE1.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)
#597DC1
Deuteranopia (green-blind)
#5A7ABC
Tritanopia (blue-blind)
#6E7F8E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e71be;
/* rgb */ color: rgb(126, 113, 190);
/* oklch */ color: oklch(59.3% 0.116 290.2);
Tailwind
colors: {
  custom: {
    50: '#a69ad2',
    500: '#7e71be',
    950: '#000000',
  },
}
SCSS
$custom: #7e71be;
$custom-light: #a69ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e71be",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 250.13,
    "s": 37.198,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59347,
    "c": 0.11572,
    "h": 290.2
  },
  "luminance": 0.19964
}

Semantic roles & 50–950 ramp

primary
#7E71BE
secondary
#CFD4B6
accent
#CD5BBA
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E14
muted
#7F7E82

Preview Lab

Preview with #7E71BE

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

Preview Lab → · Contrast checker → · Palette generator →

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