#7D71B8#7D71B8

#7D71B8 is a mid, moderate violet. Relative luminance 0.196; OKLCH L 58.9% C 0.107 H 290.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7D71B8
RGBrgb(125, 113, 184)
HSLhsl(250, 33%, 58%)
HSVhsv(250, 39%, 72%)
CMYKcmyk(32.1%, 38.6%, 0%, 27.8%)
CIE-LABlab(51.42, 21.04, -35.89)
CIE-LCHlch(51.42, 41.60, 300.38°)
OKLaboklab(58.94% 0.0375 -0.1004)
OKLCHoklch(58.94% 0.107 290.5)
XYZxyz(23.0121, 19.6304, 47.9147)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D71B8 #ACB871
analogous
#7188B8 #7D71B8 #A071B8
triadic
#7D71B8 #B87D71 #71B87D
tetradic
#7D71B8 #B87188 #ACB871 #71B8A0
square
#7D71B8 #B87188 #ACB871 #71B8A0
split-complementary
#7D71B8 #B8A071 #88B871
monochromatic
#443A74 #5C4F9D #7D71B8 #A29ACC #C8C3E1

Accessibility & contrast

On white

4.26
#7D71B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7D71B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D71B8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D71B8#FFFFFF#000000##000000
##7D71B81.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7CBB
Deuteranopia (green-blind)
#5C79B6
Tritanopia (blue-blind)
#6F7E8C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d71b8;
/* rgb */ color: rgb(125, 113, 184);
/* oklch */ color: oklch(58.9% 0.107 290.5);
Tailwind
colors: {
  custom: {
    50: '#a49acd',
    500: '#7d71b8',
    950: '#000000',
  },
}
SCSS
$custom: #7d71b8;
$custom-light: #a49acd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d71b8",
  "rgb": {
    "r": 125,
    "g": 113,
    "b": 184
  },
  "hsl": {
    "h": 250.141,
    "s": 33.333,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58942,
    "c": 0.10714,
    "h": 290.5
  },
  "luminance": 0.19631
}

Semantic roles & 50–950 ramp

primary
#7D71B8
secondary
#CCD1B4
accent
#C95EB7
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0E13
muted
#7F7E82

Preview Lab

Preview with #7D71B8

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

Preview Lab → · Contrast checker → · Palette generator →

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