#7C71A8#7C71A8

#7C71A8 is a mid, moderate violet. Relative luminance 0.189; OKLCH L 58.1% C 0.084 H 292.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7C71A8
RGBrgb(124, 113, 168)
HSLhsl(252, 24%, 55%)
HSVhsv(252, 33%, 66%)
CMYKcmyk(26.2%, 32.7%, 0%, 34.1%)
CIE-LABlab(50.60, 16.57, -27.90)
CIE-LCHlch(50.60, 32.45, 300.71°)
OKLaboklab(58.05% 0.0325 -0.0774)
OKLCHoklch(58.05% 0.084 292.8)
XYZxyz(21.2835, 18.9222, 39.5692)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C71A8 #9DA871
analogous
#7182A8 #7C71A8 #9771A8
triadic
#7C71A8 #A87C71 #71A87C
tetradic
#7C71A8 #A87182 #9DA871 #71A897
square
#7C71A8 #A87182 #9DA871 #71A897
split-complementary
#7C71A8 #A89771 #82A871
monochromatic
#443C62 #5E5488 #7C71A8 #9F97BF #C2BDD7

Accessibility & contrast

On white

4.39
#7C71A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7C71A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C71A8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C71A8#FFFFFF#000000##000000
##7C71A81.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6379AA
Deuteranopia (green-blind)
#6477A7
Tritanopia (blue-blind)
#737A85
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c71a8;
/* rgb */ color: rgb(124, 113, 168);
/* oklch */ color: oklch(58.1% 0.084 292.8);
Tailwind
colors: {
  custom: {
    50: '#a399c2',
    500: '#7c71a8',
    950: '#000000',
  },
}
SCSS
$custom: #7c71a8;
$custom-light: #a399c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c71a8",
  "rgb": {
    "r": 124,
    "g": 113,
    "b": 168
  },
  "hsl": {
    "h": 252,
    "s": 24.017,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58052,
    "c": 0.0839,
    "h": 292.8
  },
  "luminance": 0.18922
}

Semantic roles & 50–950 ramp

primary
#7C71A8
secondary
#C1C6AF
accent
#C067AF
background
#FAF9FB
surface
#F4F2F7
border
#CECCD0
text
#0F0E12
muted
#7F7E81

Preview Lab

Preview with #7C71A8

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

Preview Lab → · Contrast checker → · Palette generator →

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