#7B71CF#7B71CF

#7B71CF is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.1% C 0.140 H 286.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7B71CF
RGBrgb(123, 113, 207)
HSLhsl(246, 49%, 63%)
HSVhsv(246, 45%, 81%)
CMYKcmyk(40.6%, 45.4%, 0%, 18.8%)
CIE-LABlab(52.43, 26.83, -47.48)
CIE-LCHlch(52.43, 54.54, 299.47°)
OKLaboklab(60.05% 0.0391 -0.1342)
OKLCHoklch(60.05% 0.14 286.2)
XYZxyz(25.3328, 20.5253, 61.6464)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B71CF #C5CF71
analogous
#7196CF #7B71CF #AA71CF
triadic
#7B71CF #CF7B71 #71CF7B
tetradic
#7B71CF #CF7196 #C5CF71 #71CFAA
square
#7B71CF #CF7196 #C5CF71 #71CFAA
split-complementary
#7B71CF #CFAA71 #96CF71
monochromatic
#3C3294 #5043C0 #7B71CF #A69FDE #D0CCEE

Accessibility & contrast

On white

4.11
#7B71CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7B71CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B71CF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B71CF#FFFFFF#000000##000000
##7B71CF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E80D2
Deuteranopia (green-blind)
#4C7ACD
Tritanopia (blue-blind)
#638496
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7b71cf;
/* rgb */ color: rgb(123, 113, 207);
/* oklch */ color: oklch(60.1% 0.140 286.2);
Tailwind
colors: {
  custom: {
    50: '#a59ade',
    500: '#7b71cf',
    950: '#000000',
  },
}
SCSS
$custom: #7b71cf;
$custom-light: #a59ade;
$custom-dark: #000000;
JSON
{
  "hex": "#7b71cf",
  "rgb": {
    "r": 123,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 246.383,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.60051,
    "c": 0.13977,
    "h": 286.2
  },
  "luminance": 0.20526
}

Semantic roles & 50–950 ramp

primary
#7B71CF
secondary
#DBDFBD
accent
#BD29AD
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100E15
muted
#7F7E83

Preview Lab

Preview with #7B71CF

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

Preview Lab → · Contrast checker → · Palette generator →

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