#7B71EB#7B71EB

#7B71EB is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.8% C 0.178 H 283.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7B71EB
RGBrgb(123, 113, 235)
HSLhsl(245, 75%, 68%)
HSVhsv(245, 52%, 92%)
CMYKcmyk(47.7%, 51.9%, 0%, 7.8%)
CIE-LABlab(54.05, 34.93, -60.67)
CIE-LCHlch(54.05, 70.01, 299.93°)
OKLaboklab(61.79% 0.0418 -0.1729)
OKLCHoklch(61.79% 0.178 283.6)
XYZxyz(29.0644, 22.0179, 81.2996)
Luminance0.2202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B71EB #E1EB71
analogous
#71A4EB #7B71EB #B871EB
triadic
#7B71EB #EB7B71 #71EB7B
tetradic
#7B71EB #EB71A4 #E1EB71 #71EBB8
square
#7B71EB #EB71A4 #E1EB71 #71EBB8
split-complementary
#7B71EB #EBB871 #A4EB71
monochromatic
#2A1CC6 #493BE3 #7B71EB #ADA7F3 #DFDCFA

Accessibility & contrast

On white

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

On black

5.40
#7B71EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B71EB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B71EB#FFFFFF#000000##000000
##7B71EB1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EF
Deuteranopia (green-blind)
#2C7DE8
Tritanopia (blue-blind)
#538CA3
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b71eb;
/* rgb */ color: rgb(123, 113, 235);
/* oklch */ color: oklch(61.8% 0.178 283.6);
Tailwind
colors: {
  custom: {
    50: '#a89af2',
    500: '#7b71eb',
    950: '#000000',
  },
}
SCSS
$custom: #7b71eb;
$custom-light: #a89af2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b71eb",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 244.918,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61791,
    "c": 0.17789,
    "h": 283.6
  },
  "luminance": 0.22019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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