#7A71EF#7A71EF

#7A71EF is a mid, vivid blue. Relative luminance 0.222; OKLCH L 62.0% C 0.183 H 282.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7A71EF
RGBrgb(122, 113, 239)
HSLhsl(244, 80%, 69%)
HSVhsv(244, 53%, 94%)
CMYKcmyk(49%, 52.7%, 0%, 6.3%)
CIE-LABlab(54.22, 35.90, -62.64)
CIE-LCHlch(54.22, 72.20, 299.82°)
OKLaboklab(61.98% 0.0408 -0.1787)
OKLCHoklch(61.98% 0.183 282.9)
XYZxyz(29.5065, 22.1783, 84.3707)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A71EF #E6EF71
analogous
#71A7EF #7A71EF #B971EF
triadic
#7A71EF #EF7A71 #71EF7A
tetradic
#7A71EF #EF71A7 #E6EF71 #71EFB9
square
#7A71EF #EF71A7 #E6EF71 #71EFB9
split-complementary
#7A71EF #EFB971 #A7EF71
monochromatic
#2417CE #463AE9 #7A71EF #AEA8F5 #E1DFFB

Accessibility & contrast

On white

3.86
#7A71EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#7A71EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A71EF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A71EF#FFFFFF#000000##000000
##7A71EF1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D86F3
Deuteranopia (green-blind)
#237DEC
Tritanopia (blue-blind)
#4F8DA5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7a71ef;
/* rgb */ color: rgb(122, 113, 239);
/* oklch */ color: oklch(62.0% 0.183 282.9);
Tailwind
colors: {
  custom: {
    50: '#a89af5',
    500: '#7a71ef',
    950: '#000000',
  },
}
SCSS
$custom: #7a71ef;
$custom-light: #a89af5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a71ef",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 244.286,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61978,
    "c": 0.18331,
    "h": 282.9
  },
  "luminance": 0.2218
}

Semantic roles & 50–950 ramp

primary
#7A71EF
secondary
#EEF0CB
accent
#DC09CD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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