#7A71CC#7A71CC

#7A71CC is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.8% C 0.136 H 286.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7A71CC
RGBrgb(122, 113, 204)
HSLhsl(246, 47%, 62%)
HSVhsv(246, 45%, 80%)
CMYKcmyk(40.2%, 44.6%, 0%, 20%)
CIE-LABlab(52.18, 25.73, -46.16)
CIE-LCHlch(52.18, 52.85, 299.13°)
OKLaboklab(59.79% 0.0375 -0.1304)
OKLCHoklch(59.79% 0.136 286)
XYZxyz(24.8272, 20.3066, 59.7265)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A71CC #C3CC71
analogous
#7196CC #7A71CC #A871CC
triadic
#7A71CC #CC7A71 #71CC7A
tetradic
#7A71CC #CC7196 #C3CC71 #71CCA8
square
#7A71CC #CC7196 #C3CC71 #71CCA8
split-complementary
#7A71CC #CCA871 #96CC71
monochromatic
#3C338F #5044BC #7A71CC #A49EDC #CECBEC

Accessibility & contrast

On white

4.15
#7A71CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#7A71CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A71CC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A71CC#FFFFFF#000000##000000
##7A71CC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCF
Deuteranopia (green-blind)
#4E7ACA
Tritanopia (blue-blind)
#638395
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7a71cc;
/* rgb */ color: rgb(122, 113, 204);
/* oklch */ color: oklch(59.8% 0.136 286.0);
Tailwind
colors: {
  custom: {
    50: '#a49adc',
    500: '#7a71cc',
    950: '#000000',
  },
}
SCSS
$custom: #7a71cc;
$custom-light: #a49adc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a71cc",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 245.934,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59794,
    "c": 0.13566,
    "h": 286
  },
  "luminance": 0.20307
}

Semantic roles & 50–950 ramp

primary
#7A71CC
secondary
#DADDBC
accent
#BA2BAC
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7A71CC

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

Preview Lab → · Contrast checker → · Palette generator →

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