#7B81FA#7B81FA

#7B81FA is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.6% C 0.177 H 278.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7B81FA
RGBrgb(123, 129, 250)
HSLhsl(237, 93%, 73%)
HSVhsv(237, 51%, 98%)
CMYKcmyk(50.8%, 48.4%, 0%, 2%)
CIE-LABlab(58.80, 29.96, -61.37)
CIE-LCHlch(58.80, 68.29, 296.02°)
OKLaboklab(65.65% 0.0252 -0.1748)
OKLCHoklch(65.65% 0.177 278.2)
XYZxyz(33.2686, 26.8116, 93.8461)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B81FA #FAF47B
analogous
#7BC1FA #7B81FA #B47BFA
triadic
#7B81FA #FA7B81 #81FA7B
tetradic
#7B81FA #FA7BC1 #FAF47B #7BFAB4
square
#7B81FA #FA7BC1 #FAF47B #7BFAB4
split-complementary
#7B81FA #FAB47B #C1FA7B
monochromatic
#0914F1 #4049F8 #7B81FA #B6B9FC #E2E3FE

Accessibility & contrast

On white

3.30
#7B81FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#7B81FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B81FA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B81FA#FFFFFF#000000##000000
##7B81FA1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FE
Deuteranopia (green-blind)
#3B89F7
Tritanopia (blue-blind)
#469BB2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7b81fa;
/* rgb */ color: rgb(123, 129, 250);
/* oklch */ color: oklch(65.6% 0.177 278.2);
Tailwind
colors: {
  custom: {
    50: '#a9a5fd',
    500: '#7b81fa',
    950: '#000000',
  },
}
SCSS
$custom: #7b81fa;
$custom-light: #a9a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b81fa",
  "rgb": {
    "r": 123,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 237.165,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.65649,
    "c": 0.17666,
    "h": 278.2
  },
  "luminance": 0.26814
}

Semantic roles & 50–950 ramp

primary
#7B81FA
secondary
#F6F4D5
accent
#DB00E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #7B81FA

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

Preview Lab → · Contrast checker → · Palette generator →

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