#7B71EA#7B71EA

#7B71EA is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.7% C 0.177 H 283.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7B71EA
RGBrgb(123, 113, 234)
HSLhsl(245, 74%, 68%)
HSVhsv(245, 52%, 92%)
CMYKcmyk(47.4%, 51.7%, 0%, 8.2%)
CIE-LABlab(53.98, 34.64, -60.21)
CIE-LCHlch(53.98, 69.47, 299.91°)
OKLaboklab(61.73% 0.0418 -0.1715)
OKLCHoklch(61.73% 0.177 283.7)
XYZxyz(28.9204, 21.9603, 80.5409)
Luminance0.2196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B71EA #E0EA71
analogous
#71A3EA #7B71EA #B871EA
triadic
#7B71EA #EA7B71 #71EA7B
tetradic
#7B71EA #EA71A3 #E0EA71 #71EAB8
square
#7B71EA #EA71A3 #E0EA71 #71EAB8
split-complementary
#7B71EA #EAB871 #A3EA71
monochromatic
#2B1DC4 #493CE2 #7B71EA #ADA6F2 #DEDCFA

Accessibility & contrast

On white

3.89
#7B71EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#7B71EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B71EA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B71EA#FFFFFF#000000##000000
##7B71EA1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3585EE
Deuteranopia (green-blind)
#2E7DE7
Tritanopia (blue-blind)
#548BA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b71ea;
/* rgb */ color: rgb(123, 113, 234);
/* oklch */ color: oklch(61.7% 0.177 283.7);
Tailwind
colors: {
  custom: {
    50: '#a89af1',
    500: '#7b71ea',
    950: '#000000',
  },
}
SCSS
$custom: #7b71ea;
$custom-light: #a89af1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b71ea",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 244.959,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.61726,
    "c": 0.17656,
    "h": 283.7
  },
  "luminance": 0.21962
}

Semantic roles & 50–950 ramp

primary
#7B71EA
secondary
#EBEEC9
accent
#D60FC6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7B71EA

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

Preview Lab → · Contrast checker → · Palette generator →

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