#7B81CF#7B81CF

#7B81CF is a light, moderate blue. Relative luminance 0.244; OKLCH L 63.2% C 0.117 H 279.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#7B81CF
RGBrgb(123, 129, 207)
HSLhsl(236, 47%, 65%)
HSVhsv(236, 41%, 81%)
CMYKcmyk(40.6%, 37.7%, 0%, 18.8%)
CIE-LABlab(56.50, 17.30, -41.03)
CIE-LCHlch(56.50, 44.53, 292.86°)
OKLaboklab(63.15% 0.0186 -0.1153)
OKLCHoklch(63.15% 0.117 279.1)
XYZxyz(27.2778, 24.4153, 62.2947)
Luminance0.2442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B81CF #CFC97B
analogous
#7BABCF #7B81CF #9F7BCF
triadic
#7B81CF #CF7B81 #81CF7B
tetradic
#7B81CF #CF7BAB #CFC97B #7BCF9F
square
#7B81CF #CF7BAB #CFC97B #7BCF9F
split-complementary
#7B81CF #CF9F7B #ABCF7B
monochromatic
#373E98 #4E56BF #7B81CF #A8ACDF #D5D7F0

Accessibility & contrast

On white

3.57
#7B81CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#7B81CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B81CF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B81CF#FFFFFF#000000##000000
##7B81CF1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#668BD2
Deuteranopia (green-blind)
#6185CD
Tritanopia (blue-blind)
#61909E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7b81cf;
/* rgb */ color: rgb(123, 129, 207);
/* oklch */ color: oklch(63.2% 0.117 279.1);
Tailwind
colors: {
  custom: {
    50: '#a4a5de',
    500: '#7b81cf',
    950: '#000000',
  },
}
SCSS
$custom: #7b81cf;
$custom-light: #a4a5de;
$custom-dark: #000000;
JSON
{
  "hex": "#7b81cf",
  "rgb": {
    "r": 123,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 235.714,
    "s": 46.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.63154,
    "c": 0.11681,
    "h": 279.1
  },
  "luminance": 0.24416
}

Semantic roles & 50–950 ramp

primary
#7B81CF
secondary
#E1DFC4
accent
#B02CBA
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7B81CF

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

Preview Lab → · Contrast checker → · Palette generator →

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