#7B71EE#7B71EE

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

Color values

HEX#7B71EE
RGBrgb(123, 113, 238)
HSLhsl(245, 79%, 69%)
HSVhsv(245, 53%, 93%)
CMYKcmyk(48.3%, 52.5%, 0%, 6.7%)
CIE-LABlab(54.23, 35.82, -62.05)
CIE-LCHlch(54.23, 71.65, 299.99°)
OKLaboklab(61.99% 0.042 -0.177)
OKLCHoklch(61.99% 0.182 283.3)
XYZxyz(29.5015, 22.1928, 83.6015)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B71EE #E4EE71
analogous
#71A6EE #7B71EE #BA71EE
triadic
#7B71EE #EE7B71 #71EE7B
tetradic
#7B71EE #EE71A6 #E4EE71 #71EEBA
square
#7B71EE #EE71A6 #E4EE71 #71EEBA
split-complementary
#7B71EE #EEBA71 #A6EE71
monochromatic
#2718CC #483AE7 #7B71EE #AEA8F5 #E1DEFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B71EE#FFFFFF#000000##000000
##7B71EE1.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)
#2F86F2
Deuteranopia (green-blind)
#277EEB
Tritanopia (blue-blind)
#518DA5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7b71ee;
/* rgb */ color: rgb(123, 113, 238);
/* oklch */ color: oklch(62.0% 0.182 283.3);
Tailwind
colors: {
  custom: {
    50: '#a89af4',
    500: '#7b71ee',
    950: '#000000',
  },
}
SCSS
$custom: #7b71ee;
$custom-light: #a89af4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b71ee",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 244.8,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61988,
    "c": 0.18187,
    "h": 283.3
  },
  "luminance": 0.22194
}

Semantic roles & 50–950 ramp

primary
#7B71EE
secondary
#EDF0CB
accent
#DB0BCA
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #7B71EE

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

Preview Lab → · Contrast checker → · Palette generator →

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