#7B71CB#7B71CB

#7B71CB is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.8% C 0.134 H 286.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7B71CB
RGBrgb(123, 113, 203)
HSLhsl(247, 46%, 62%)
HSVhsv(247, 44%, 80%)
CMYKcmyk(39.4%, 44.3%, 0%, 20.4%)
CIE-LABlab(52.21, 25.71, -45.54)
CIE-LCHlch(52.21, 52.30, 299.44°)
OKLaboklab(59.82% 0.0385 -0.1285)
OKLCHoklch(59.82% 0.134 286.7)
XYZxyz(24.8500, 20.3322, 59.1035)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B71CB #C1CB71
analogous
#7194CB #7B71CB #A871CB
triadic
#7B71CB #CB7B71 #71CB7B
tetradic
#7B71CB #CB7194 #C1CB71 #71CBA8
square
#7B71CB #CB7194 #C1CB71 #71CBA8
split-complementary
#7B71CB #CBA871 #94CB71
monochromatic
#3E348E #5144BB #7B71CB #A59EDB #CECBEC

Accessibility & contrast

On white

4.14
#7B71CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7B71CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B71CB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B71CB#FFFFFF#000000##000000
##7B71CB1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCE
Deuteranopia (green-blind)
#4F7AC9
Tritanopia (blue-blind)
#658394
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7b71cb;
/* rgb */ color: rgb(123, 113, 203);
/* oklch */ color: oklch(59.8% 0.134 286.7);
Tailwind
colors: {
  custom: {
    50: '#a59adb',
    500: '#7b71cb',
    950: '#000000',
  },
}
SCSS
$custom: #7b71cb;
$custom-light: #a59adb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b71cb",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 246.667,
    "s": 46.392,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59818,
    "c": 0.13418,
    "h": 286.7
  },
  "luminance": 0.20333
}

Semantic roles & 50–950 ramp

primary
#7B71CB
secondary
#D9DCBB
accent
#BA2CAA
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7B71CB

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

Preview Lab → · Contrast checker → · Palette generator →

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