#7A71DF#7A71DF

#7A71DF is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.9% C 0.162 H 284.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7A71DF
RGBrgb(122, 113, 223)
HSLhsl(245, 63%, 66%)
HSVhsv(245, 49%, 87%)
CMYKcmyk(45.3%, 49.3%, 0%, 12.5%)
CIE-LABlab(53.25, 31.20, -55.23)
CIE-LCHlch(53.25, 63.43, 299.46°)
OKLaboklab(60.94% 0.0397 -0.1569)
OKLCHoklch(60.94% 0.162 284.2)
XYZxyz(27.2465, 21.2743, 72.4684)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A71DF #D6DF71
analogous
#719FDF #7A71DF #B171DF
triadic
#7A71DF #DF7A71 #71DF7A
tetradic
#7A71DF #DF719F #D6DF71 #71DFB1
square
#7A71DF #DF719F #D6DF71 #71DFB1
split-complementary
#7A71DF #DFB171 #9FDF71
monochromatic
#3227AE #4B3FD4 #7A71DF #A9A3EA #D8D5F6

Accessibility & contrast

On white

4.00
#7A71DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#7A71DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A71DF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A71DF#FFFFFF#000000##000000
##7A71DF1.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4183E3
Deuteranopia (green-blind)
#3C7CDD
Tritanopia (blue-blind)
#59889D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a71df;
/* rgb */ color: rgb(122, 113, 223);
/* oklch */ color: oklch(60.9% 0.162 284.2);
Tailwind
colors: {
  custom: {
    50: '#a69ae9',
    500: '#7a71df',
    950: '#000000',
  },
}
SCSS
$custom: #7a71df;
$custom-light: #a69ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a71df",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 244.909,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60943,
    "c": 0.16188,
    "h": 284.2
  },
  "luminance": 0.21276
}

Semantic roles & 50–950 ramp

primary
#7A71DF
secondary
#E5E8C4
accent
#CB1BBD
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7A71DF

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

Preview Lab → · Contrast checker → · Palette generator →

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