#7A71DD#7A71DD

#7A71DD is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.8% C 0.159 H 284.4°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7A71DD
RGBrgb(122, 113, 221)
HSLhsl(245, 61%, 65%)
HSVhsv(245, 49%, 87%)
CMYKcmyk(44.8%, 48.9%, 0%, 13.3%)
CIE-LABlab(53.13, 30.61, -54.29)
CIE-LCHlch(53.13, 62.32, 299.42°)
OKLaboklab(60.82% 0.0396 -0.1542)
OKLCHoklch(60.82% 0.159 284.4)
XYZxyz(26.9785, 21.1671, 71.0567)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A71DD #D4DD71
analogous
#719EDD #7A71DD #B071DD
triadic
#7A71DD #DD7A71 #71DD7A
tetradic
#7A71DD #DD719E #D4DD71 #71DDB0
square
#7A71DD #DD719E #D4DD71 #71DDB0
split-complementary
#7A71DD #DDB071 #9EDD71
monochromatic
#3429AB #4C40D1 #7A71DD #A8A2E9 #D6D4F5

Accessibility & contrast

On white

4.01
#7A71DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#7A71DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A71DD
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A71DD#FFFFFF#000000##000000
##7A71DD1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E1
Deuteranopia (green-blind)
#3E7CDB
Tritanopia (blue-blind)
#5A889D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a71dd;
/* rgb */ color: rgb(122, 113, 221);
/* oklch */ color: oklch(60.8% 0.159 284.4);
Tailwind
colors: {
  custom: {
    50: '#a69ae8',
    500: '#7a71dd',
    950: '#000000',
  },
}
SCSS
$custom: #7a71dd;
$custom-light: #a69ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a71dd",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 245,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60818,
    "c": 0.15916,
    "h": 284.4
  },
  "luminance": 0.21168
}

Semantic roles & 50–950 ramp

primary
#7A71DD
secondary
#E4E7C3
accent
#C91CBB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7A71DD

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

Preview Lab → · Contrast checker → · Palette generator →

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