#7B8FF5#7B8FF5

#7B8FF5 is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.0% C 0.152 H 273.4°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#7B8FF5
RGBrgb(123, 143, 245)
HSLhsl(230, 86%, 72%)
HSVhsv(230, 50%, 96%)
CMYKcmyk(49.8%, 41.6%, 0%, 3.9%)
CIE-LABlab(62.04, 20.19, -53.45)
CIE-LCHlch(62.04, 57.13, 290.69°)
OKLaboklab(68.02% 0.0089 -0.1515)
OKLCHoklch(68.02% 0.152 273.4)
XYZxyz(34.4670, 30.4463, 90.4290)
Luminance0.3045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B8FF5 #F5E17B
analogous
#7BCCF5 #7B8FF5 #A47BF5
triadic
#7B8FF5 #F57B8F #8FF57B
tetradic
#7B8FF5 #F57BCC #F5E17B #7BF5A4
square
#7B8FF5 #F57BCC #F5E17B #7BF5A4
split-complementary
#7B8FF5 #F5A47B #CCF57B
monochromatic
#1134E4 #425FF1 #7B8FF5 #B4BFF9 #E3E7FD

Accessibility & contrast

On white

2.96
#7B8FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#7B8FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7B8FF5
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B8FF5#FFFFFF#000000##000000
##7B8FF51.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#669BF9
Deuteranopia (green-blind)
#5991F3
Tritanopia (blue-blind)
#48A5B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7b8ff5;
/* rgb */ color: rgb(123, 143, 245);
/* oklch */ color: oklch(68.0% 0.152 273.4);
Tailwind
colors: {
  custom: {
    50: '#a8aff9',
    500: '#7b8ff5',
    950: '#000000',
  },
}
SCSS
$custom: #7b8ff5;
$custom-light: #a8aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b8ff5",
  "rgb": {
    "r": 123,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 230.164,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68021,
    "c": 0.15176,
    "h": 273.4
  },
  "luminance": 0.30448
}

Semantic roles & 50–950 ramp

primary
#7B8FF5
secondary
#F5F0D6
accent
#BE03E2
background
#FAFAFF
surface
#F4F4FF
border
#CECED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7B8FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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