#7B71DC#7B71DC

#7B71DC is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.8% C 0.158 H 284.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7B71DC
RGBrgb(123, 113, 220)
HSLhsl(246, 60%, 65%)
HSVhsv(246, 49%, 86%)
CMYKcmyk(44.1%, 48.6%, 0%, 13.7%)
CIE-LABlab(53.15, 30.56, -53.68)
CIE-LCHlch(53.15, 61.77, 299.65°)
OKLaboklab(60.83% 0.0406 -0.1524)
OKLCHoklch(60.83% 0.158 284.9)
XYZxyz(26.9880, 21.1874, 70.3638)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B71DC #D2DC71
analogous
#719DDC #7B71DC #B071DC
triadic
#7B71DC #DC7B71 #71DC7B
tetradic
#7B71DC #DC719D #D2DC71 #71DCB0
square
#7B71DC #DC719D #D2DC71 #71DCB0
split-complementary
#7B71DC #DCB071 #9DDC71
monochromatic
#362AA9 #4D40D0 #7B71DC #A9A2E8 #D6D3F4

Accessibility & contrast

On white

4.01
#7B71DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#7B71DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B71DC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B71DC#FFFFFF#000000##000000
##7B71DC1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482E0
Deuteranopia (green-blind)
#407CDA
Tritanopia (blue-blind)
#5C879C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7b71dc;
/* rgb */ color: rgb(123, 113, 220);
/* oklch */ color: oklch(60.8% 0.158 284.9);
Tailwind
colors: {
  custom: {
    50: '#a69ae7',
    500: '#7b71dc',
    950: '#000000',
  },
}
SCSS
$custom: #7b71dc;
$custom-light: #a69ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b71dc",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 245.607,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60835,
    "c": 0.1577,
    "h": 284.9
  },
  "luminance": 0.21189
}

Semantic roles & 50–950 ramp

primary
#7B71DC
secondary
#E3E6C2
accent
#C81DB8
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7B71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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