#7B71EC#7B71EC

#7B71EC is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.9% C 0.179 H 283.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7B71EC
RGBrgb(123, 113, 236)
HSLhsl(245, 76%, 68%)
HSVhsv(245, 52%, 93%)
CMYKcmyk(47.9%, 52.1%, 0%, 7.5%)
CIE-LABlab(54.11, 35.23, -61.13)
CIE-LCHlch(54.11, 70.56, 299.95°)
OKLaboklab(61.86% 0.0419 -0.1743)
OKLCHoklch(61.86% 0.179 283.5)
XYZxyz(29.2093, 22.0759, 82.0626)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B71EC #E2EC71
analogous
#71A4EC #7B71EC #B871EC
triadic
#7B71EC #EC7B71 #71EC7B
tetradic
#7B71EC #EC71A4 #E2EC71 #71ECB8
square
#7B71EC #EC71A4 #E2EC71 #71ECB8
split-complementary
#7B71EC #ECB871 #A4EC71
monochromatic
#291BC8 #493BE5 #7B71EC #ADA7F3 #DFDDFA

Accessibility & contrast

On white

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

On black

5.42
#7B71EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B71EC
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B71EC#FFFFFF#000000##000000
##7B71EC1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3285F0
Deuteranopia (green-blind)
#2B7DE9
Tritanopia (blue-blind)
#538CA4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7b71ec;
/* rgb */ color: rgb(123, 113, 236);
/* oklch */ color: oklch(61.9% 0.179 283.5);
Tailwind
colors: {
  custom: {
    50: '#a89af3',
    500: '#7b71ec',
    950: '#000000',
  },
}
SCSS
$custom: #7b71ec;
$custom-light: #a89af3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b71ec",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 244.878,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61857,
    "c": 0.17922,
    "h": 283.5
  },
  "luminance": 0.22077
}

Semantic roles & 50–950 ramp

primary
#7B71EC
secondary
#ECEFCA
accent
#D90DC8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7B71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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