#7B8FFA#7B8FFA

#7B8FFA is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.3% C 0.159 H 273.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7B8FFA
RGBrgb(123, 143, 250)
HSLhsl(231, 93%, 73%)
HSVhsv(231, 51%, 98%)
CMYKcmyk(50.8%, 42.8%, 0%, 2%)
CIE-LABlab(62.30, 21.70, -55.78)
CIE-LCHlch(62.30, 59.85, 291.26°)
OKLaboklab(68.31% 0.0097 -0.1583)
OKLCHoklch(68.31% 0.159 273.5)
XYZxyz(35.2406, 30.7557, 94.5034)
Luminance0.3076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8FFA #FAE67B
analogous
#7BCEFA #7B8FFA #A67BFA
triadic
#7B8FFA #FA7B8F #8FFA7B
tetradic
#7B8FFA #FA7BCE #FAE67B #7BFAA6
square
#7B8FFA #FA7BCE #FAE67B #7BFAA6
split-complementary
#7B8FFA #FAA67B #CEFA7B
monochromatic
#092EF1 #405DF8 #7B8FFA #B6C1FC #E2E6FE

Accessibility & contrast

On white

2.94
#7B8FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#7B8FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7B8FFA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8FFA#FFFFFF#000000##000000
##7B8FFA1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFE
Deuteranopia (green-blind)
#5592F8
Tritanopia (blue-blind)
#43A6B8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7b8ffa;
/* rgb */ color: rgb(123, 143, 250);
/* oklch */ color: oklch(68.3% 0.159 273.5);
Tailwind
colors: {
  custom: {
    50: '#a8affc',
    500: '#7b8ffa',
    950: '#000000',
  },
}
SCSS
$custom: #7b8ffa;
$custom-light: #a8affc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8ffa",
  "rgb": {
    "r": 123,
    "g": 143,
    "b": 250
  },
  "hsl": {
    "h": 230.551,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68308,
    "c": 0.15862,
    "h": 273.5
  },
  "luminance": 0.30758
}

Semantic roles & 50–950 ramp

primary
#7B8FFA
secondary
#F6F1D5
accent
#C100E6
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7B8FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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