#7A71ED#7A71ED

#7A71ED is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.8% C 0.181 H 283.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#7A71ED
RGBrgb(122, 113, 237)
HSLhsl(244, 78%, 69%)
HSVhsv(244, 52%, 93%)
CMYKcmyk(48.5%, 52.3%, 0%, 7.1%)
CIE-LABlab(54.09, 35.31, -61.72)
CIE-LCHlch(54.09, 71.11, 299.77°)
OKLaboklab(61.85% 0.0407 -0.176)
OKLCHoklch(61.85% 0.181 283)
XYZxyz(29.2126, 22.0608, 82.8232)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A71ED #E4ED71
analogous
#71A6ED #7A71ED #B871ED
triadic
#7A71ED #ED7A71 #71ED7A
tetradic
#7A71ED #ED71A6 #E4ED71 #71EDB8
square
#7A71ED #ED71A6 #E4ED71 #71EDB8
split-complementary
#7A71ED #EDB871 #A6ED71
monochromatic
#261ACA #473BE6 #7A71ED #ADA7F4 #E0DEFB

Accessibility & contrast

On white

3.88
#7A71ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#7A71ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A71ED
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A71ED#FFFFFF#000000##000000
##7A71ED1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3085F1
Deuteranopia (green-blind)
#277DEA
Tritanopia (blue-blind)
#508CA4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a71ed;
/* rgb */ color: rgb(122, 113, 237);
/* oklch */ color: oklch(61.8% 0.181 283.0);
Tailwind
colors: {
  custom: {
    50: '#a89af3',
    500: '#7a71ed',
    950: '#000000',
  },
}
SCSS
$custom: #7a71ed;
$custom-light: #a89af3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a71ed",
  "rgb": {
    "r": 122,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 244.355,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61845,
    "c": 0.18067,
    "h": 283
  },
  "luminance": 0.22062
}

Semantic roles & 50–950 ramp

primary
#7A71ED
secondary
#EDEFCA
accent
#DA0CCB
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7A71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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