#7B71DB#7B71DB

#7B71DB is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.8% C 0.156 H 285.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7B71DB
RGBrgb(123, 113, 219)
HSLhsl(246, 60%, 65%)
HSVhsv(246, 48%, 86%)
CMYKcmyk(43.8%, 48.4%, 0%, 14.1%)
CIE-LABlab(53.10, 30.27, -53.21)
CIE-LCHlch(53.10, 61.22, 299.63°)
OKLaboklab(60.77% 0.0405 -0.151)
OKLCHoklch(60.77% 0.156 285)
XYZxyz(26.8560, 21.1346, 69.6684)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B71DB #D1DB71
analogous
#719CDB #7B71DB #B071DB
triadic
#7B71DB #DB7B71 #71DB7B
tetradic
#7B71DB #DB719C #D1DB71 #71DBB0
square
#7B71DB #DB719C #D1DB71 #71DBB0
split-complementary
#7B71DB #DBB071 #9CDB71
monochromatic
#362AA7 #4E40CF #7B71DB #A8A2E7 #D6D3F4

Accessibility & contrast

On white

4.02
#7B71DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#7B71DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B71DB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B71DB#FFFFFF#000000##000000
##7B71DB1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4582DF
Deuteranopia (green-blind)
#417CD9
Tritanopia (blue-blind)
#5D879C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7b71db;
/* rgb */ color: rgb(123, 113, 219);
/* oklch */ color: oklch(60.8% 0.156 285.0);
Tailwind
colors: {
  custom: {
    50: '#a69ae7',
    500: '#7b71db',
    950: '#000000',
  },
}
SCSS
$custom: #7b71db;
$custom-light: #a69ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b71db",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 245.66,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60773,
    "c": 0.15633,
    "h": 285
  },
  "luminance": 0.21136
}

Semantic roles & 50–950 ramp

primary
#7B71DB
secondary
#E2E6C2
accent
#C71EB7
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #7B71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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