#7B71CC#7B71CC

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

Color values

HEX#7B71CC
RGBrgb(123, 113, 204)
HSLhsl(247, 47%, 62%)
HSVhsv(247, 45%, 80%)
CMYKcmyk(39.7%, 44.6%, 0%, 20%)
CIE-LABlab(52.26, 25.99, -46.03)
CIE-LCHlch(52.26, 52.86, 299.45°)
OKLaboklab(59.88% 0.0387 -0.1299)
OKLCHoklch(59.88% 0.136 286.6)
XYZxyz(24.9695, 20.3800, 59.7331)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B71CC #C2CC71
analogous
#7195CC #7B71CC #A871CC
triadic
#7B71CC #CC7B71 #71CC7B
tetradic
#7B71CC #CC7195 #C2CC71 #71CCA8
square
#7B71CC #CC7195 #C2CC71 #71CCA8
split-complementary
#7B71CC #CCA871 #95CC71
monochromatic
#3E338F #5144BC #7B71CC #A59EDC #CFCBEC

Accessibility & contrast

On white

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

On black

5.08
#7B71CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B71CC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B71CC#FFFFFF#000000##000000
##7B71CC1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCF
Deuteranopia (green-blind)
#4F7ACA
Tritanopia (blue-blind)
#648395
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7b71cc;
/* rgb */ color: rgb(123, 113, 204);
/* oklch */ color: oklch(59.9% 0.136 286.6);
Tailwind
colors: {
  custom: {
    50: '#a59adc',
    500: '#7b71cc',
    950: '#000000',
  },
}
SCSS
$custom: #7b71cc;
$custom-light: #a59adc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b71cc",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 246.593,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59876,
    "c": 0.13558,
    "h": 286.6
  },
  "luminance": 0.20381
}

Semantic roles & 50–950 ramp

primary
#7B71CC
secondary
#D9DDBC
accent
#BA2BAB
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7B71CC

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

Preview Lab → · Contrast checker → · Palette generator →

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