#7A71CF#7A71CF

#7A71CF is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.0% C 0.140 H 285.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7A71CF
RGBrgb(122, 113, 207)
HSLhsl(246, 49%, 63%)
HSVhsv(246, 45%, 81%)
CMYKcmyk(41.1%, 45.4%, 0%, 18.8%)
CIE-LABlab(52.34, 26.58, -47.61)
CIE-LCHlch(52.34, 54.53, 299.18°)
OKLaboklab(59.97% 0.0379 -0.1346)
OKLCHoklch(59.97% 0.14 285.7)
XYZxyz(25.1905, 20.4519, 61.6397)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A71CF #C6CF71
analogous
#7197CF #7A71CF #A971CF
triadic
#7A71CF #CF7A71 #71CF7A
tetradic
#7A71CF #CF7197 #C6CF71 #71CFA9
square
#7A71CF #CF7197 #C6CF71 #71CFA9
split-complementary
#7A71CF #CFA971 #97CF71
monochromatic
#3B3294 #4F43C0 #7A71CF #A59FDE #D0CCEE

Accessibility & contrast

On white

4.13
#7A71CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7A71CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A71CF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A71CF#FFFFFF#000000##000000
##7A71CF1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD2
Deuteranopia (green-blind)
#4C7ACD
Tritanopia (blue-blind)
#618496
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7a71cf;
/* rgb */ color: rgb(122, 113, 207);
/* oklch */ color: oklch(60.0% 0.140 285.7);
Tailwind
colors: {
  custom: {
    50: '#a49ade',
    500: '#7a71cf',
    950: '#000000',
  },
}
SCSS
$custom: #7a71cf;
$custom-light: #a49ade;
$custom-dark: #000000;
JSON
{
  "hex": "#7a71cf",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 245.745,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59969,
    "c": 0.13985,
    "h": 285.7
  },
  "luminance": 0.20453
}

Semantic roles & 50–950 ramp

primary
#7A71CF
secondary
#DCDFBD
accent
#BD29AF
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7A71CF

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

Preview Lab → · Contrast checker → · Palette generator →

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