#7B71CD#7B71CD

#7B71CD is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.9% C 0.137 H 286.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7B71CD
RGBrgb(123, 113, 205)
HSLhsl(247, 48%, 62%)
HSVhsv(247, 45%, 80%)
CMYKcmyk(40%, 44.9%, 0%, 19.6%)
CIE-LABlab(52.32, 26.27, -46.51)
CIE-LCHlch(52.32, 53.42, 299.46°)
OKLaboklab(59.93% 0.0388 -0.1314)
OKLCHoklch(59.93% 0.137 286.5)
XYZxyz(25.0899, 20.4281, 60.3668)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B71CD #C3CD71
analogous
#7195CD #7B71CD #A971CD
triadic
#7B71CD #CD7B71 #71CD7B
tetradic
#7B71CD #CD7195 #C3CD71 #71CDA9
square
#7B71CD #CD7195 #C3CD71 #71CDA9
split-complementary
#7B71CD #CDA971 #95CD71
monochromatic
#3D3391 #5144BD #7B71CD #A59EDD #CFCCED

Accessibility & contrast

On white

4.13
#7B71CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7B71CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B71CD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B71CD#FFFFFF#000000##000000
##7B71CD1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7FD0
Deuteranopia (green-blind)
#4E7ACB
Tritanopia (blue-blind)
#648395
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7b71cd;
/* rgb */ color: rgb(123, 113, 205);
/* oklch */ color: oklch(59.9% 0.137 286.5);
Tailwind
colors: {
  custom: {
    50: '#a59add',
    500: '#7b71cd',
    950: '#000000',
  },
}
SCSS
$custom: #7b71cd;
$custom-light: #a59add;
$custom-dark: #000000;
JSON
{
  "hex": "#7b71cd",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 246.522,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59934,
    "c": 0.13698,
    "h": 286.5
  },
  "luminance": 0.20429
}

Semantic roles & 50–950 ramp

primary
#7B71CD
secondary
#DADEBC
accent
#BB2AAB
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7B71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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